ZLibCompressMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

ZLibCompressMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Compression MBS Compression Plugin 3.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
A class for zlib compression.

See also ArchiveReaderMBS and ArchiveWriterMBS classes for more features and compression formats.

Constants

Constant Value Description
kASCII 1 One of the data type constants.
kBEST_COMPRESSION 9 One of the compression level constants.
kBEST_SPEED 1 One of the compression level constants.
kBINARY 0 One of the data type constants.
kBLOCK 5 One of the flush constants.
kBUF_ERROR -5 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kDATA_ERROR -3 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kDEFAULT_COMPRESSION -1 One of the compression level constants.
kDEFAULT_STRATEGY 0 One of the compression strategy constants.
kDEFLATED 8 One of the compression method constants. The deflate compression method (the only one supported in this version)
kERRNO -1 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kFILTERED 1 One of the compression strategy constants.
kFINISH 4 One of the flush constants.
kFIXED 4 One of the compression strategy constants.
kFULL_FLUSH 3 One of the flush constants.
kHUFFMAN_ONLY 2 One of the compression strategy constants.
kMEM_ERROR -4 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kNEED_DICT 2 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kNO_COMPRESSION 0 One of the compression level constants.
kNO_FLUSH 0 One of the flush constants.
kNULL 0 The null value.
kOK 0 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kPARTIAL_FLUSH 1 One of the flush constants.
kRLE 3 One of the compression strategy constants.
kSTREAM_END 1 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kSTREAM_ERROR -2 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
kSYNC_FLUSH 2 One of the flush constants.
kTEXT 1 One of the data type constants.
kUNKNOWN 2 One of the data type constants.
kVERSION_ERROR -6 One of the return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.

This class has no sub classes.

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS Compression Plugin.


ZipMBS   -   ZLibDecompressMBS


💬 Ask a question or report a problem