Platforms to show: All Mac Windows Linux Cross-Platform
ZLibDecompressMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Compression | MBS Compression Plugin | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also ArchiveReaderMBS and ArchiveWriterMBS classes for more features and compression formats.
- 7 properties
- property CRC as UInt32
- property Error as Integer
- property ErrorMessage as String
- property OutputBufferSize as Integer
- property TotalInput as Integer
- property TotalOutput as Integer
- property Version as String
- 12 methods
- method Adler32(start as UInt32, data as string) as UInt32
- method close
- method Constructor(BufferSize as Integer=20000)
- method CRC32(start as UInt32, data as string) as UInt32
- method EndZip
- method GetOutput as string
- method InitZip
- method InputAvail as Integer
- method OutputSize as Integer
- method ProcessZip(Flush as boolean=false)
- method SetInput(data as Memoryblock) as boolean
- method SetInput(data as string) as boolean
- 30 constants
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:
- /Compression/RBZ Library version 1.1/rbz
- /Compression/ZipTests
- /Compression/zlib/Compress test
- /Compression/zlib/ZipTests
Blog Entries
The items on this page are in the following plugins: MBS Compression Plugin.