可选allow可选bsonreturn BSON regular expressions as BSONRegExp instances.
可选fieldsallow to specify if there what fields we wish to return as unserialized raw buffer.
可选indexOffset into buffer to begin reading document from
可选promotewhen deserializing a Binary will return it as a node.js Buffer instance.
可选promotewhen deserializing a Long will fit it into a Number if it's smaller than 53 bits.
可选promotewhen deserializing will promote BSON values to their Node.js closest equivalent types.
可选raw可选usewhen deserializing a Long will return as a BigInt.
可选validationAllows for opt-out utf-8 validation for all keys or specified keys. Must be all true or all false.
allows the buffer to be larger than the parsed BSON object.