Zen API
 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
memorykMemory object.
initialCapacityInitial capacity of the buffer, in bytes.
Returns
Operation status.