Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kDat6Serializer_EnableDictionary | ( | kDat6Serializer | serializer,
|  | kBool | enable
| ) |  |

Enables or disables the use of a type dictionary when writing objects.

By default, kDat6Serializer uses a type dictionary for better performance. However, the use of a type dictionary requires linear/sequential deserialization (or at least a linear pass through the stream before performing random accesses). To suppport true random-access deserialization, the type dicationary feature must be disabled when serializing data.

Parameters

  serializer | Serializer object.
  enable | kTRUE to enable.

Returns
  Operation status.