a buffer object containing the binary data.
the option binary type.
Initial buffer default size
Byte Array BSON type
Column BSON type
Default BSON type
Encrypted BSON type
Function BSON type
MD5 BSON type
User BSON type
UUID BSON type
Deprecated UUID BSON type @deprecated Please use SUBTYPE_UUID
the length of the binary sequence
Updates this binary with byte_value.
a single byte we wish to write.
Reads length bytes starting at position.
read from the given position in the Binary.
the number of bytes to read.
Returns the value of this binary as a string.
Will skip converting to a string
Writes a buffer or string to the binary.
a string or buffer to be written to the Binary BSON object.
specify the binary of where to write the content.
Generated using TypeDoc
A class representation of the BSON Binary type.