Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kFile_SetWriteBuffer | ( | kFile | file,
|  | kSize | size
| ) |  |

Sets the size of the buffer used for writing.

Buffering can improve efficiency when performing several small write operations. The default buffer size is 0.

Parameters

  file | File object.
  size | Size of the buffer.

Returns
  Operation status.