MemoryPoolStreamCoreReadBlock Method

Reads from the underlying stream the requested set of data. This function is more user friendly than calling GetBlock().

Definition

Namespace: SnapDB.IO.Unmanaged
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void ReadBlock(
	long position,
	out IntPtr pointer,
	out int validLength
)

Parameters

position  Int64
The starting position of the read.
pointer  IntPtr
Ann output pointer to position.
validLength  Int32
The number of bytes that are valid after this position.

See Also