Output using the Extended JSON v1 spec
Enable Extended JSON's
relaxed mode, which attempts to return native JS types where possible, rather than BSON types
Enable native bigint support
Deserialize stream data as BSON documents.
the buffer containing the serialized set of BSON documents.
the start index in the data Buffer where the deserialization is to start.
number of documents to deserialize.
an array where to store the deserialized documents.
the index in the documents array from where to start inserting documents.
additional options used for the deserialization.
next index in the buffer after deserialization x numbers of documents.
the Buffer you pre-allocated to store the serialized BSON object.
the index pointing to the last written byte in the buffer.
Sets the size of the internal serialization buffer.
The desired size for the internal serialization buffer in bytes
Generated using TypeDoc