package decompress
  Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
    Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module De.Lz77Source
The type for input sources. With a `Manual source the client must provide input with src. With `String or `Channel source the client can safely discard `Await case (with assert false).
The type for states.
literals s is frequencies of lengths and literals emitted by s since it was created.
distances s is frequencies of distances emitted by s since it was created.
src s i j l provides s with l bytes to read, starting at j in i. This byte range is read by calls to compress with s until `Await is returned. To signal the end of input call the function with l = 0.
compress s is:
- `Awaitif- shas a- `Manualinput source and awits for more input. The client must use- srcto provide it.
- `Flushif- sfilled completely the shared-queue- q(given in- state).- Queue.junk_exnor- Queue.pop_exncan be used to give some free cells to- compress.
- `Endif- scompressed all input. Given shared-queue- qis possibly not empty.