SingleChunkBufferGetSlice Method  | 
 
            Gets a slice of this buffer.
            
 
    Namespace: 
   MongoDB.Bson.IO
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntaxpublic IByteBuffer GetSlice(
	int position,
	int length
)
Public Function GetSlice ( 
	position As Integer,
	length As Integer
) As IByteBuffer
abstract GetSlice : 
        position : int * 
        length : int -> IByteBuffer 
override 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.
Implements
IByteBufferGetSlice(Int32, Int32)
See Also