SingleChunkBuffer Constructor (original) (raw)

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public SingleChunkBuffer( IBsonChunk chunk, int length, bool isReadOnly = false )

Public Sub New ( chunk As IBsonChunk, length As Integer, Optional isReadOnly As Boolean = false )

new : chunk : IBsonChunk * length : int * ?isReadOnly : bool (* Defaults: let _isReadOnly = defaultArg isReadOnly false *) -> SingleChunkBuffer

Parameters

chunk

Type: MongoDB.Bson.IOIBsonChunk
The chuns.

length

Type: SystemInt32
The length.

isReadOnly (Optional)

Type: SystemBoolean
Whether the buffer is read only.

See Also

Reference