Table of Contents

Class ByteArrayChunk

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

Represents a chunk backed by a byte array.

public class ByteArrayChunk : IBsonChunk, IDisposable
Inheritance
ByteArrayChunk
Implements
Inherited Members
Extension Methods

Constructors

ByteArrayChunk(byte[])

Initializes a new instance of the ByteArrayChunk class.

ByteArrayChunk(int)

Initializes a new instance of the ByteArrayChunk class.

Properties

Bytes

Gets the bytes.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Fork()

Returns a new reference to the same chunk that can be independently disposed.