UnmanagedMemoryStreamCoreReadBlock Method
Reads from the underlying stream the requested set of data.
This function is more user friendly than calling GetBlock().
Namespace: SnapDB.IO.UnmanagedAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void ReadBlock(
long position,
out IntPtr pointer,
out int validLength
)
Public Sub ReadBlock (
position As Long,
<OutAttribute> ByRef pointer As IntPtr,
<OutAttribute> ByRef validLength As Integer
)
public:
void ReadBlock(
long long position,
[OutAttribute] IntPtr% pointer,
[OutAttribute] int% validLength
)
function ReadBlock(position, pointer, validLength);
Parameters
- position Int64
- The starting position of the read.
- pointer IntPtr
- An output pointer to position.
- validLength Int32
- The number of bytes that are valid after this position.