Creates a new BSON value using raw data.
Initializes a new BSON value from the given D type.
Represents the type of a BSON value
Iterates over all index/value pairs of an array.
Iterates over all key/value pairs of an object.
Iterates over all values of an object or array.
Allows foreach iterating over BSON objects and arrays.
Assigns a D type to a BSON value.
Converts the BSON value to a D value.
Allows accessing fields of a BSON object using [].
Allows index based access of a BSON array value.
Allows accessing fields of a BSON object using [].
Returns the native type for this BSON if it matches the current runtime type.
Removes an entry from a BSON obect.
Converts a BSON value to a JSON value.
Returns a string representation of this BSON value in JSON format.
Check whether the BSON object contains the given key.
Returns the raw data representing this BSON value (not including the field name and type).
Returns a new, empty Bson value of type Array.
Returns a new, empty Bson value of type Object.
Converts the BSON value to a D value.
Returns the length of a BSON value of type String, Array, Object or BinData.
Converts the BSON value to a D value.
Returns the BSON type of this value.
Converts a given JSON value to the corresponding BSON value.
Represents a BSON value.