Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

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

Sets the size of the buffer used for reading.

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

Parameters

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

Returns
  Operation status.