Class which is designed to compress objects for writing to file. Typically objects are added then the compressor is run compressing all data at once.
More...
|
static CompressedStringInfo | AddString (BinaryCompressionObject &data, const String &string) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
static std::enable_if<!ObjectInfo< t_type >::Buffer >::type | Compress (BinaryCompressionObject &object, Buffer< uint01 > &compression_data, const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data) |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
static std::enable_if< ObjectInfo< t_type >::Buffer >::type | Compress (BinaryCompressionObject &object, Buffer< uint01 > &compression_data, const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data) |
|
static void | CompressData (BinaryCompressionObject &data) |
|
template<class t_index_type , class t_memory_allocator , class t_memory_manager > |
static void | CompressString (BinaryCompressionObject &object, Buffer< uint01 > &compression_data, const Buffer< String, t_index_type, t_memory_allocator, t_memory_manager > &data) |
|
static void | DecompressData (BinaryCompressionObject &data) |
|
static char * | GetString (BinaryCompressionObject &data, const Bounds< 1, uint04 > &bounds) |
|
static char * | GetString (BinaryCompressionObject &data, uint04 index) |
|
static uint04 | GetStringLength (BinaryCompressionObject &data, uint04 index) |
|
template<class t_type > |
static CompressionMode | PickCompressionMode (CompressionMode compression_mode=e_default_compression) |
|
static sint04 | ZLibCompress (uint01 *compressed, const uint01 *uncompressed, size_t &compressed_size, size_t decompressed_size) |
|
static sint04 | ZLibDecompress (const uint01 *compressed, uint01 *uncompressed, size_t compressed_size, size_t &decompressed_size) |
|
static sint04 | ZLibDecompressFile (File src, File output_dir) |
|
static Module | ZLibModule () |
|
Class which is designed to compress objects for writing to file. Typically objects are added then the compressor is run compressing all data at once.