Platforms to show: All Mac Windows Linux Cross-Platform
Back to BZip2DecompressMBS class.
BZip2DecompressMBS.kCONFIG_ERROR = -9
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Indicates that the library has been improperly compiled on your platform -- a major configuration error. Specifically, it means that sizeof(char), sizeof(short) and sizeof(int) are not 1, 2 and 4 respectively, as they should be. Note that the library should still work properly on 64-bit platforms which follow the LP64 programming model -- that is, where sizeof(long) and sizeof(void*) are 8. Under LP64, sizeof(int) is still 4, so libbzip2, which doesn't use the long type, is OK.
This should never happen with the plugin.
BZip2DecompressMBS.kDATA_ERROR = -4
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned when a data integrity error is detected during decompression. Most importantly, this means when stored and computed CRCs for the data do not match. This value is also returned upon detection of any other anomaly in the compressed data.
BZip2DecompressMBS.kDATA_ERROR_MAGIC = -5
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
As a special case of kDATA_ERROR, it is sometimes useful to know when the compressed stream does not start with the correct magic bytes ('B' 'Z' 'h').
BZip2DecompressMBS.kFINISH = 2
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
BZip2DecompressMBS.kFINISH_OK = 3
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
In Compress, the requested flush/finish/nothing-special action was completed successfully.
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
BZip2DecompressMBS.kFLUSH_OK = 2
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
In Compress, the requested flush/finish/nothing-special action was completed successfully.
BZip2DecompressMBS.kIO_ERROR = -6
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned by Read and Write when there is an error reading or writing in the compressed file, and by ReadOpen and WriteOpen for attempts to use a file for which the error indicator (viz, ferror(f)) is set. On receipt of kIO_ERROR, the caller should consult errno and/or perror to acquire operating-system specific information about the problem.
BZip2DecompressMBS.kMEM_ERROR = -3
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned when a request to allocate memory failed. Note that the quantity of memory needed to decompress a stream cannot be determined until the stream's header has been read. So Decompress and Read may return kMEM_ERROR even though some of the compressed data has been read. The same is not true for compression; once CompressInit or WriteOpen have successfully completed, kMEM_ERROR cannot occur.
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
The requested action was completed successfully.
BZip2DecompressMBS.kOUTBUFF_FULL = -8
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned by BuffToBuffCompress and BuffToBuffDecompress to indicate that the output data will not fit into the output buffer provided.
BZip2DecompressMBS.kPARAM_ERROR = -2
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned when a parameter to a function call is out of range or otherwise manifestly incorrect. As with kSEQUENCE_ERROR, this denotes a bug in the client code. The distinction between kPARAM_ERROR and kSEQUENCE_ERROR is a bit hazy, but still worth making.
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
BZip2DecompressMBS.kRUN_OK = 1
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
In Compress, the requested flush/finish/nothing-special action was completed successfully.
BZip2DecompressMBS.kSEQUENCE_ERROR = -1
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
When using the library, it is important to call the functions in the correct sequence and with data structures (buffers etc) in the correct states. libbzip2 checks as much as it can to ensure this is happening, and returns kSEQUENCE_ERROR if not. Code which complies precisely with the function semantics, as detailed below, should never receive this value; such an event denotes buggy code which you should investigate.
BZip2DecompressMBS.kSTREAM_END = 4
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Compression of data was completed, or the logical stream end was detected during decompression.
BZip2DecompressMBS.kUNEXPECTED_EOF = -7
Type | Topic | Plugin | Version |
const | Compression | MBS Compression Plugin | 9.7 |
Returned by Read when the compressed file finishes before the logical end of stream is detected.
The items on this page are in the following plugins: MBS Compression Plugin.