Table of Contents

Interface IBsonChunkSource

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

Represents a source of chunks.

public interface IBsonChunkSource : IDisposable
Inherited Members
Extension Methods

Methods

GetChunk(int)

Gets the chunk.

IBsonChunk GetChunk(int requestedSize)

Parameters

requestedSize int

Size of the requested.

Returns

IBsonChunk

A chunk.

Remarks

The chunk source is free to return a larger or smaller chunk than requested.