ByteBufferFactory Class (original) (raw)
Represents a factory for IBsonBuffers.
Inheritance Hierarchy
Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public static class ByteBufferFactory
Public NotInheritable Class ByteBufferFactory
[] [] type ByteBufferFactory = class end
The ByteBufferFactory type exposes the following members.
Methods
| | Name | Description | |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| | Create | Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. |
See Also