Interface InflateHistory

Interface summary


record ByteArray/any -> none
Records a byte array that has been decompressed, and is about to be returned from the read method.
look-back distance/int [block] -> none
The block should be called with a ByteArray and an offset where the required data starts. The distance is measured in bytes, backwards from the last data returned by the read method.
window-size= bytes/int -> any
The maximum size of the look-back window. Can be implemented with a public field instead of a getter and a setter.
window-size -> int

Methods

look-back distance/int [block] -> none
The block should be called with a ByteArray and an offset where the required data starts. The distance is measured in bytes, backwards from the last data returned by the read method.

record ByteArray/any -> none
Records a byte array that has been decompressed, and is about to be returned from the read method.

window-size= bytes/int -> any
The maximum size of the look-back window. Can be implemented with a public field instead of a getter and a setter.