Table of Contents

Method GetSlice

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

GetSlice(int, int)

Gets a slice of this buffer.

public IByteBuffer GetSlice(int position, int length)

Parameters

position int

The position of the start of the slice.

length int

The length of the slice.

Returns

IByteBuffer

A slice of this buffer.