interface Decompressor : Type -> Typefeed : a -> List Bits8 -> Either String (List Bits8, a)decompress a part of the compressed stream
done : a -> Either String (List Bits8)signify the compressed stream has been completely consumed
return the leftover data
init : ainit state
feed : Decompressor a => a -> List Bits8 -> Either String (List Bits8, a)decompress a part of the compressed stream
done : Decompressor a => a -> Either String (List Bits8)signify the compressed stream has been completely consumed
return the leftover data
init : Decompressor a => ainit state
data IdentityState : Typedecompress : a -> Decompressor a => List Bits8 -> Either String (List Bits8)