IByteBufferGetSlice Method |
Gets a slice of this buffer.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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:
IByteBufferA slice of this buffer.
See Also