Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kDat6Serializer.h
Go to the documentation of this file.
1 
10 #ifndef K_API_DAT6_SERIALIZER_H
11 #define K_API_DAT6_SERIALIZER_H
12 
13 #include <kApi/kApiDef.h>
14 #include <kApi/Io/kDat6Serializer.x.h>
15 
22 //typedef kSerializer kDat6Serializer; --forward-declared in kApiDef.x.h
23 
33 kFx(kStatus) kDat6Serializer_Construct(kDat6Serializer* serializer, kStream stream, kAlloc allocator);
34 
50 
79 
99 kFx(kStatus) kDat6Serializer_SaveCompressed(kObject object, const kChar* filePath, kCompressionType algorithm, k32s level);
100 
101 #endif
kStatus kDat6Serializer_EnableDictionary(kDat6Serializer serializer, kBool enable)
Enables or disables the use of a type dictionary when writing objects.
kStatus kDat6Serializer_EnableCompression(kDat6Serializer serializer, kCompressionType algorithm, k32s level)
Enables the use of compression in serialization.
Abstract base class for memory allocator types.
Represents a single unit (byte) in a UTF-8 character.
Serializes/deserializes objects using kDat6 format.
kStatus kDat6Serializer_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 kDat6Serializer_Construct(kDat6Serializer *serializer, kStream stream, kAlloc allocator)
Constructs a kDat6Serializer object.
Core Zen type declarations.
Represents an I/O stream.
Represents a 32-bit signed integer.
Root of all Zen classes.
Represents an error code.
Represents a boolean value.