BinaryStreamPointerBaseGetReadPointer(Int64, Int32) Method

Gets a read pointer to a specified position in the stream for a specified length of data.

Definition

Namespace: SnapDB.IO
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public byte* GetReadPointer(
	long position,
	int length
)

Parameters

position  Int64
The position in the stream to obtain the read pointer from.
length  Int32
The length of data to read starting from the specified position.

Return Value

Byte*
A read pointer to the specified position in the stream.

Exceptions

ExceptionThrown if the requested length exceeds the available data.

See Also