Table of Contents

Class ByteBufferFactory

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents a factory for IBsonBuffers.

public static class ByteBufferFactory
Inheritance
ByteBufferFactory
Inherited Members

Methods

Create(IBsonChunkSource, int)

Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created.