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.
Namespace: SnapDB.IOAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public byte* GetReadPointer(
long position,
int length,
out bool supportsWriting
)
Visual Basic does not support APIs that consume or return unsafe types.
public:
unsigned char* GetReadPointer(
long long position,
int length,
[OutAttribute] bool% supportsWriting
)
JavaScript does not support APIs that consume or return unsafe types.
- 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.
Byte*
A read pointer to the specified position in the stream.
| Exception | Thrown if the requested length exceeds the available data. |