The ByteArrayBuffer type exposes the following members.
Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not contain enough bytes for your needs you will have to call ReadBytes instead.
Clears the specified bytes.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy calling this method may result in a higher capacity than the minimum (but never lower).
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Gets a byte.
Serves as the default hash function.(Inherited from Object.)
Gets a slice of this buffer.
Gets the Type of the current instance.(Inherited from Object.)
Makes this buffer read only.
Sets a byte.
Returns a string that represents the current object.(Inherited from Object.)
Serializes an object to a BSON byte array.(Defined by BsonExtensionMethods.)
Serializes an object to a BsonDocument.(Defined by BsonExtensionMethods.)
Serializes an object to a JSON string.(Defined by BsonExtensionMethods.)