Represents a factory for IBsonBuffers.
Inheritance Hierarchy
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntaxpublic static class ByteBufferFactory
Public NotInheritable Class ByteBufferFactory
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ByteBufferFactory = class end
The ByteBufferFactory type exposes the following members.
Methods
| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | Create |
Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created.
|
Top
See Also