Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSerializer_SetSizeEncoding | ( | kSerializer | serializer,
|  | k32u | byteCount
| ) |  |

Explicitly sets the number of bytes used to encode/decode kSize and kSSize values.

The default size encoding for kSerializer is 4 bytes. This value can be overridden by derived classes.

Parameters

  serializer | Serializer object.
  byteCount | Number of bytes to use when encoding size values (accepts 4 or 8).

Returns
  Operation status.