|
Zen API
|
| kStatus kMemory_Attach | ( | kMemory | memory, |
| void * | buffer, | ||
| kSize | position, | ||
| kSize | length, | ||
| kSize | capacity | ||
| ) |
Attaches the memory stream to an external, fixed-capacity buffer.
| memory | kMemory object. |
| buffer | Data buffer. |
| position | Current read/write position, relative to start of buffer. |
| length | Length of valid data contained in the buffer, in bytes. |
| capacity | Total size of the buffer, in bytes. |