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

Sets the chunk size used for internal buffers.

Typically, the serializer will flush after its first buffer is filled. However, if the BeginWrite/EndWrite methods are used to emit measured sections, additional buffers of the same size may be allocated to maintain content until the measured write is complete.

Parameters
serializerSerializer object.
sizeIndividual buffer size, in bytes.
Returns
Operation status.