zStatus zMemory_Attach(zMemory memory, void* buffer, zUIntPtr position, zUIntPtr length, zUIntPtr capacity);
|
Parameters |
Description |
|
zMemory memory |
zMemory object. |
|
void* buffer |
Data buffer. |
|
zUIntPtr position |
Current read/write position, relative to start of buffer. |
|
zUIntPtr length |
Length of valid data contained in the buffer, in bytes. |
|
zUIntPtr capacity |
Total size of the buffer, in bytes. |
Specifies the buffer associated with the memory stream.
zMemory.h