For Zlib uncompression.
Example use;
z = ZlibDecoder clone z beginProcessing z inputBuffer appendSeq(inputData) z process z endProcess result := z outputBuffer | ||
beginProcessing
Initializes the algorithm.
endProcessing
Finish processing remaining bytes of inputBuffer.
inputBuffer
The input buffer for decoding.
outputBuffer
The output buffer for decoding.
process
Process the inputBuffer and appends the result to the outputBuffer.
The processed inputBuffer is empties except for the spare bytes at the end which don't fit into a cipher block.
|