Libraries
Deflate Source Code
 previous   up   next 

Function Summary
void
deflate (in string: uncompressed, inout lsbOutBitStream: compressedStream)
Compress a string with the DEFLATE algorithm.
string
deflate (in string: uncompressed)
Compress a string with the DEFLATE algorithm.

Function Detail

deflate

const proc: deflate (in string: uncompressed, inout lsbOutBitStream: compressedStream)

Compress a string with the DEFLATE algorithm. DEFLATE is a compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding.

Parameters:
uncompressed - String to be compressed with DEFLATE.
compressedStream - LSB orderd bit stream to which the deflated data written.

deflate

const func string: deflate (in string: uncompressed)

Compress a string with the DEFLATE algorithm. DEFLATE is a compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding.

Parameters:
uncompressed - String to be compressed with DEFLATE.
Returns:
a string of bytes with the deflated data.


 previous   up   next