This is the zlib Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 07:10:40 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
Files are sorted by type and then listed depth-first from the systems components trees.
zlib/zlib.lisp
zlib
(system).
compress
(function).
uncompress
(function).
*debug-level*
(special variable).
*debug-stream*
(special variable).
+adler-base+
(constant).
+deflate-max-hash-table-contents-length+
(constant).
+distance-encoding+
(special variable).
+dynamic-huffman-code-lengths-order+
(special variable).
+fixed-huffman-code-bitlist+
(special variable).
+fixed-huffman-code-lengths+
(special variable).
+fixed-huffman-codes+
(special variable).
+huffman-end-of-block-symbol+
(constant).
+length-encoding+
(special variable).
+max-distance+
(constant).
+max-length+
(constant).
+max-non-compressed-block-size+
(constant).
+min-distance+
(constant).
+min-length+
(constant).
+zlib-major-version+
(constant).
+zlib-minor-version+
(constant).
add-hash-value
(function).
adler-32
(function).
bit-list-from-value
(function).
bit-stream
(structure).
bit-stream-bytes
(reader).
(setf bit-stream-bytes)
(writer).
bit-stream-p
(function).
bit-stream-pad-to-byte-boundary
(function).
bit-stream-position
(reader).
(setf bit-stream-position)
(writer).
bit-stream-read-bit
(function).
bit-stream-read-bits
(function).
bit-stream-read-byte
(function).
bit-stream-read-length-and-distance
(function).
bit-stream-read-n-bytes
(function).
bit-stream-read-reversed-bit
(function).
bit-stream-read-reversed-bits
(function).
bit-stream-read-symbol
(function).
bit-stream-write-bit
(function).
bit-stream-write-bits
(function).
bit-stream-write-bits2
(function).
bit-stream-write-byte
(function).
bit-vector-from-value
(function).
copy-bit-stream
(function).
debug-format-1
(macro).
debug-format-2
(macro).
decision-tree
(macro).
decode-dynamic-huffman-block
(function).
decode-fixed-huffman-block
(function).
decode-non-compressed-block
(function).
distance-code
(function).
distance-code-bits
(function).
distance-code-bits2
(function).
encode-dynamic-huffman-block
(function).
encode-fixed-huffman-block
(function).
encode-non-compressed-block
(function).
extra-distance-bits
(function).
extra-length-bits
(function).
find-best-match
(function).
fixed-huffman-code
(function).
fixed-huffman-code2
(function).
huffman-insert-element
(function).
infix-to-tree
(function).
length-code
(function).
make-bit-stream
(function).
make-huffman-tree
(function).
map-tree-postfix
(function).
number-of-blocks
(function).
read-32-bits-from-array
(function).
read-huffman-code-lengths
(function).
update-adler-32
(function).
Packages are listed by definition order.
zlib
common-lisp
.
compress
(function).
uncompress
(function).
*debug-level*
(special variable).
*debug-stream*
(special variable).
+adler-base+
(constant).
+deflate-max-hash-table-contents-length+
(constant).
+distance-encoding+
(special variable).
+dynamic-huffman-code-lengths-order+
(special variable).
+fixed-huffman-code-bitlist+
(special variable).
+fixed-huffman-code-lengths+
(special variable).
+fixed-huffman-codes+
(special variable).
+huffman-end-of-block-symbol+
(constant).
+length-encoding+
(special variable).
+max-distance+
(constant).
+max-length+
(constant).
+max-non-compressed-block-size+
(constant).
+min-distance+
(constant).
+min-length+
(constant).
+zlib-major-version+
(constant).
+zlib-minor-version+
(constant).
add-hash-value
(function).
adler-32
(function).
bit-list-from-value
(function).
bit-stream
(structure).
bit-stream-bytes
(reader).
(setf bit-stream-bytes)
(writer).
bit-stream-p
(function).
bit-stream-pad-to-byte-boundary
(function).
bit-stream-position
(reader).
(setf bit-stream-position)
(writer).
bit-stream-read-bit
(function).
bit-stream-read-bits
(function).
bit-stream-read-byte
(function).
bit-stream-read-length-and-distance
(function).
bit-stream-read-n-bytes
(function).
bit-stream-read-reversed-bit
(function).
bit-stream-read-reversed-bits
(function).
bit-stream-read-symbol
(function).
bit-stream-write-bit
(function).
bit-stream-write-bits
(function).
bit-stream-write-bits2
(function).
bit-stream-write-byte
(function).
bit-vector-from-value
(function).
copy-bit-stream
(function).
debug-format-1
(macro).
debug-format-2
(macro).
decision-tree
(macro).
decode-dynamic-huffman-block
(function).
decode-fixed-huffman-block
(function).
decode-non-compressed-block
(function).
distance-code
(function).
distance-code-bits
(function).
distance-code-bits2
(function).
encode-dynamic-huffman-block
(function).
encode-fixed-huffman-block
(function).
encode-non-compressed-block
(function).
extra-distance-bits
(function).
extra-length-bits
(function).
find-best-match
(function).
fixed-huffman-code
(function).
fixed-huffman-code2
(function).
huffman-insert-element
(function).
infix-to-tree
(function).
length-code
(function).
make-bit-stream
(function).
make-huffman-tree
(function).
map-tree-postfix
(function).
number-of-blocks
(function).
read-32-bits-from-array
(function).
read-huffman-code-lengths
(function).
update-adler-32
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Compresses BUFFER using deflate algorithm of type BTYPE. Recognized types are :NO-COMPRESSION, :FIXED and :DYNAMIC.
Uncompresses BUFFER. Returns a vector of bytes containing the uncompressed
data, and the length of the uncompressed data.
UNCOMPRESSED-SIZE is a hint to set the result buffer size.
If UNCOMPRESSED-SIZE is not specified it is set as double of comressed BUFFER
size.
If OUTPUT-BUFFER is specified, the result will be written to this buffer,
and the UNCOMPRESSED-SIZE is ignored.
Otherwise (default) a new array will be created of size UNCOMPRESSED-SIZE
START specifies the start position in the BUFFER (0 by default)
END specifies the end position in the BUFFER (length of BUFFER by default)
Gives the relationship between a code, and extra bits and distance
The number of bits used to represent a code length
Gives the relationship between a code, and extra bits and length
CLAUSES: Each clause is of the forms:
(less|:less . <body>) ; must be the first clause if present.
(<real> . <body>)
DO: Evaluate the expression, which must be a real,
and generate a binary decision tree to select the <body>
of the clause whose limit is <= the expression and
the next clause limit is > the expression.
Remove oldest hash-value index from HASH-TABLE (if necessary) and push INDEX into HASH-TABLE
Compute Adler-32 checksum of BUFFER. Based on the sample code in appendix C of RFC 1950. update-adler-32 does all the work
Return a list with a bit representation of VALUE. The list has LENGTH elements
If necessary, pads the current byte in BIT-STREAM with zeroes
Return the next bit from BIT-STREAM
Read N bits from BIT-STREAM
Read the next byte (8 bits) from BIT-STREAM
Find the length and distance for CODE from BIT-STREAM and return them
Read N bytes from BIT-STREAM
Read bits from BIT-STREAM and find the corresponding symbol in HUFFMAN-TREE
Write BIT to BIT-STREAM
Write bits from BIT-LIST to BIT-STREAM
Write BYTE to BIT-STREAM
Decode one block in BIT-STREAM with dynamic Huffman coding and store the result in RESULT
Decode one block in BIT-STREAM with fixed Huffman coding and store the result in RESULT.
Decode one non-compressed block in BIT-STREAM and store the result in RESULT
Return the distance-code for a given DISTANCE
Return a list with 5 elements that are the binary representation of CODE.
Encode a DEFLATE block using the fixed Huffman code method
Encode a DEFLATE block using the non-compressing method
The number of extra distance bits that are needed for a given DISTANCE.
The number of extra length bits that are needed for a given DISTANCE.
Searches all elements in MATCH to find the one with the lowest position. INDEX is the index to the current position in BUFFER
Return the code for the given SYMBOL.
Insert SYMBOL into TREE
Return the length-code for a given LENGTH
Create a Huffman tree from HUFFMAN-CODE-LENGTHS
Return the number of blocks that should be used to encode the BUFFER.
Read a 32-bit word from ARRAY, MSB first starting from position START
Jump to: | (
A B C D E F H I L M N R U |
---|
Jump to: | (
A B C D E F H I L M N R U |
---|
Jump to: | *
+
B C P S |
---|
Jump to: | *
+
B C P S |
---|
Jump to: | B F P S Z |
---|
Jump to: | B F P S Z |
---|