Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMemory_Reserve | ( | kMemory | memory,
|  | kSize | minimumCapacity
| ) |  |

Ensures that capacity is reserved for at least the specified number of bytes.

Existing buffer content is preserved.

Parameters

  memory | kMemory object.
  minimumCapacity | Minimum capacity of the buffer, in bytes.

Returns
  Operation status.