Table of Contents

Constructor ByteBufferSlice

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

ByteBufferSlice(IByteBuffer, int, int)

Initializes a new instance of the ByteBufferSlice class.

public ByteBufferSlice(IByteBuffer buffer, int offset, int length)

Parameters

buffer IByteBuffer

The byte buffer.

offset int

The offset of the slice.

length int

The length of the slice.