Constructor Reader
Reader(ref UnsafeAppendBuffer)
Initializes and returns an instance of UnsafeAppendBuffer.Reader.
Declaration
public Reader(ref UnsafeAppendBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
UnsafeAppendBuffer | buffer | A reference to the append buffer to read. |
Reader(void*, int)
Initializes and returns an instance of UnsafeAppendBuffer.Reader that reads from a buffer.
Declaration
public Reader(void* ptr, int length)
Parameters
Type | Name | Description |
---|---|---|
void* | ptr | The buffer to read as an UnsafeAppendBuffer. |
int | length | The length in bytes of the |
Remarks
The buffer will be read as if it is an UnsafeAppendBuffer whether it was originally allocated as one or not.