A class representation of the BSON Binary type.
A class representation of the BSON RegExp type.
A class representation of the BSON DBRef type.
A class representation of the BSON Decimal128 type.
A class representation of the BSON Double type.
A class representation of a BSON Int32 type.
A class representing a 64-bit integer
- MAX_UNSIGNED_VALUE
- MAX_VALUE
- MIN_VALUE
- NEG_ONE
- ONE
- TWO_PWR_24
- UONE
- UZERO
- ZERO
- __isLong__
- _bsontype
- add
- and
- comp
- compare
- div
- divide
- eq
- equals
- eqz
- fromBigInt
- fromBits
- fromBytes
- fromBytesBE
- fromBytesLE
- fromExtendedJSON
- fromInt
- fromNumber
- fromString
- fromStringStrict
- fromValue
- ge
- getHighBits
- getHighBitsUnsigned
- getLowBits
- getLowBitsUnsigned
- getNumBitsAbs
- greaterThan
- greaterThanOrEqual
- gt
- gte
- high
- inspect
- isEven
- isLong
- isNegative
- isOdd
- isPositive
- isZero
- le
- lessThan
- lessThanOrEqual
- low
- lt
- lte
- mod
- modulo
- mul
- multiply
- ne
- neg
- negate
- neq
- not
- notEquals
- or
- rem
- shiftLeft
- shiftRight
- shiftRightUnsigned
- shl
- shr
- shr_u
- shru
- sub
- subtract
- toBigInt
- toBytes
- toBytesBE
- toBytesLE
- toExtendedJSON
- toInt
- toNumber
- toSigned
- toString
- toUnsigned
- unsigned
- xor
A class representation of the BSON ObjectId type.
A class representation of the BSON UUID type.
Calculate the bson size for a passed in Javascript object.
Deserialize data as BSON.
Deserialize stream data as BSON documents.
Serialize a Javascript object.
Serialize a Javascript object using a predefined Buffer and index into the buffer, useful when pre-allocating the space for serialization.
Sets the size of the internal serialization buffer.