Click or drag to resize

IByteBufferGetSlice Method

Gets a slice of this buffer.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
IByteBuffer GetSlice(
	int position,
	int length
)

Parameters

position
Type: SystemInt32
The position of the start of the slice.
length
Type: SystemInt32
The length of the slice.

Return Value

Type: IByteBuffer
A slice of this buffer.
See Also