Hi,
I am using bsonify and I have noticed some differences from the https://github.com/mongodb/js-bson which I take as reference implementation.
Code like this works in js-bson
var image = fs.readFileSync(path.join(root, 'assets/small.png'));
serialize(image);
But with bsonfy one has to
var image = fs.readFileSync(path.join(root, 'assets/small.png'));
serialize(Uint8Array(image.buffer));
What should be the path to support more of these translations just like js-bson does to have 1-1 compatbility ?
Hi,
I am using bsonify and I have noticed some differences from the https://github.com/mongodb/js-bson which I take as reference implementation.
Code like this works in js-bson
But with bsonfy one has to
What should be the path to support more of these translations just like js-bson does to have 1-1 compatbility ?