IByteBuffer.GetSlice Method (original) (raw)

IByteBufferGetSlice Method

Gets a slice of this buffer.

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

Syntax

IByteBuffer GetSlice( int position, int length )

Function GetSlice ( position As Integer, length As Integer ) As IByteBuffer

abstract GetSlice : position : int * length : int -> IByteBuffer

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

Reference