Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSerializer_Flush | ( | kSerializer | serializer | ) |

Flushes the serializer write buffer to the underlying stream.

kSerializer does not automatically flush its internal write buffer when the serializer is destroyed. The Flush method must be used to ensure that all bytes are written to the underlying stream.

The kSerializer_Flush method calls kStream_Flush on the underlying stream.

Parameters

  serializer | Serializer object.

Returns
  Operation status.