BinaryStreamPointerBaseGetReadPointer(Int64, Int32, Boolean) Method

Gets a read pointer to a specified position in the stream for a specified length of data and determines if the stream supports writing at that position.

Definition

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

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.
supportsWriting  Boolean
When this method returns, contains a boolean indicating whether writing is supported at 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