Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kSerializer_SetMaxBufferedWriteSize ( kSerializer  serializer,
kSize  size 
)

Sets the upper size threshold for write operations that can be buffered.

Writes larger than the specified size will trigger a flush to the underlying stream, followed by a direct write of the provided buffer (provided that the serializer is currently in a state in which it can be flushed).

Parameters
serializerSerializer object.
sizeMaximum buffered write size, in bytes.
Returns
Operation status.