Systems

Package Index

chipz

The base condition of the CHIPZ library. All
other conditions inherit from this error.

ConditionDECOMPRESSION-ERROR
(CHIPZ-ERROR)

The base condition of all conditions signaled during
decompression.

ConditionINVALID-FORMAT-ERROR
(CHIPZ-ERROR)

Signaled when an invalid format name is passed to
MAKE-DSTATE, MAKE-INFLATE-STATE, or DECOMPRESS.

ConditionINVALID-CHECKSUM-ERROR
(DECOMPRESSION-ERROR)

Signaled when the checksum of decompressed data does
not match the expected value.

ConditionPREMATURE-END-OF-STREAM
(DECOMPRESSION-ERROR)

Signaled when FINISH-DSTATE is called on a state that
has not actually reached the end of the input being decompressed.

ConditionINFLATE-ERROR
(DECOMPRESSION-ERROR)

The base condition of conditions signaled when
decompressing DEFLATE-related formats.

ConditionINVALID-ZLIB-HEADER-ERROR
(INFLATE-ERROR)

Signaled when a zlib header does not pass the
consistency check.

ConditionINVALID-GZIP-HEADER-ERROR
(INFLATE-ERROR)

Signaled when a gzip header does not have the proper ID.

ConditionRESERVED-BLOCK-TYPE-ERROR
(INFLATE-ERROR)

Signaled when an invalid deflate block is found.

ConditionINVALID-STORED-BLOCK-LENGTH-ERROR
(INFLATE-ERROR)

Signaled when a stored block's length does not pass
the consistency check.

ConditionBZIP2-ERROR
(DECOMPRESSION-ERROR)

The base condition of conditions signaled when
decompressing BZIP2-related formats.

ConditionINVALID-BZIP2-DATA
(BZIP2-ERROR)

Signaled when invalid bzip2 data is found.

StructDECOMPRESSION-STATE

STATE

DONE

INPUT

INPUT-START

INPUT-INDEX

INPUT-END

OUTPUT

OUTPUT-START

OUTPUT-INDEX

OUTPUT-END

CHECKSUM

UPDATE-CHECKSUM

BITS

N-BITS

FunctionMAKE-DSTATE
(format)

Return a structure suitable for uncompressing data in DATA-FORMAT;
DATA-FORMAT should be:
:BZIP2 or CHIPZ:BZIP2 For decompressing data in the `bzip2' format;
:GZIP or CHIPZ:GZIP For decompressing data in the `gzip' format;
:ZLIB or CHIPZ:ZLIB For decompressing data in the `zlib' format;
:DEFLATE or CHIPZ:DEFLATE For decompressing data in the `deflate' format.
The usual value of DATA-FORMAT will be one of CHIPZ:BZIP2 or CHIPZ:GZIP.

FunctionFINISH-DSTATE
(state)

StructINFLATE-STATE

FINAL-BLOCK-P

LENGTH

DISTANCE

LENGTH-CODE

DISTANCE-CODE

N-LENGTH-CODES

N-DISTANCE-CODES

N-CODES

N-VALUES-READ

CODE-LENGTHS

WINDOW

WINDOW-INDEX

CODES-TABLE

LITERAL/LENGTH-TABLE

DISTANCE-TABLE

HEADER

DATA-FORMAT

FunctionMAKE-INFLATE-STATE
(format)

Return a INFLATE-STATE structure suitable for uncompressing data in
FORMAT; FORMAT should be:
:GZIP or CHIPZ:GZIP For decompressing data in the `gzip' format;
:ZLIB or CHIPZ:ZLIB For decompressing data in the `zlib' format;
:DEFLATE or CHIPZ:DEFLATE For decompressing data in the `deflate' format.
The usual value of FORMAT will be one of CHIPZ:GZIP or CHIPZ:ZLIB.