Closed mbancroft closed 11 years ago
When grabbing the binary data from bson object offset should be offset from pos, else you're just grabbing a random chunk of bytes out of the object.
Fix is to calculate offset like so:
(offset (+ pos (if (eql type #x02) 9 5)))
Hey thanks for the heads up.. feel free to fix :) I'll put in a fix over the weekend !!
this has been fixed
When grabbing the binary data from bson object offset should be offset from pos, else you're just grabbing a random chunk of bytes out of the object.
Fix is to calculate offset like so:
(offset (+ pos (if (eql type #x02) 9 5)))