mqBufferToBag

The mqBufferToBag call converts the supplied buffer into bag form.