# Io Reference

Compression / LZO / LZODecoder

|  | The LZO object can be used to uncompress data using the Lempel-Ziv-Oberhumer (LZO) lossless data compression algorithm. Example use;
    z = LZODecoder clone
    z beginProcessing
    z inputBuffer appendSeq("this is a message")
    z process
    z endProcess
    result := z outputBuffer
|  | beginProcessing Initializes the algorithm. endProcessing Finish processing remaining bytes of inputBuffer. process Process the inputBuffer and appends the result to the outputBuffer. The processed inputBuffer is emptied except for the spare bytes at the end which don't fit into a cipher block.