Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSaveCompressed6 | ( | kObject | object,
|  | const kChar * | fileName,
|  | kCompressionType | algorithm,
|  | k32s | level
| ) |  |

Saves an object to file using kDat-6 serialization and compression.

Parameters

  object | Object to be serialized.
  fileName | Path of the file to save.
  algorithm | Compression algorithm to use. Example: kCOMPRESSION_TYPE_ZSTD.
  level | Compression level to use. Example: kCOMPRESSION_PRESET_DEFAULT.

Returns
  Operation status.