Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus k8u_Format ( k8u  value,
kChar buffer,
kSize  capacity 
)

Converts k8u value to string.

If the buffer is insufficient, the copy will transfer as many characters as possible, null-terminate the resulting string, and return kERROR_INCOMPLETE.

If the capacity is zero, kERROR_PARAMETER will be returned.

Parameters
valueInput value.
bufferDestination for the string copy.
capacityCapacity of destination buffer, in characters.
Returns
Operation status.