10 #ifndef K_API_DAT5_SERIALIZER_H
11 #define K_API_DAT5_SERIALIZER_H
14 #include <kApi/Io/kDat5Serializer.x.h>
kStatus kDat5Serializer_WriteData(kDat5Serializer serializer, kObject object, const kChar *label)
Writes a labelled object to the underlying stream.
Represents an unsigned integer that can store a pointer address.
Abstract base class for memory allocator types.
kStatus kDat5Serializer_Construct(kDat5Serializer *serializer, kStream stream, kAlloc allocator)
Constructs a kDat5Serializer object.
Represents a single unit (byte) in a UTF-8 character.
kStatus kDat5Serializer_SaveCompressed(kObject object, const kChar *filePath, kCompressionType algorithm, k32s level)
Saves an object to file using the specified compression type.
Type of compression algorithm.
kStatus kDat5Serializer_EnableCompression(kDat5Serializer serializer, kCompressionType algorithm, k32s level)
Enables the use of compression in serialization.
Core Zen type declarations.
Represents an I/O stream.
Represents a 32-bit signed integer.
kStatus kDat5Serializer_ReadData(kDat5Serializer serializer, kObject *object, kChar *label, kSize capacity, kAlloc allocator)
Reads a labelled object from the underlying stream.
Represents an error code.
Serializes/deserializes objects using kDat5 format.