Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMemory_Allocate | ( | kMemory | memory,
|  | kSize | initialCapacity
| ) |  |

Allocates an auto-sizing, internally-managed buffer for the memory stream.

Parameters

  memory | kMemory object.
  initialCapacity | Initial capacity of the buffer, in bytes.

Returns
  Operation status.