Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data DeflateM a
- runDeflateM :: DeflateM () -> ZlibDecoder
- data ZlibDecoder
- raise :: DecompressionError -> DeflateM a
- data DecompressionError
- nextBits :: (Num a, Bits a) => Int -> DeflateM a
- nextByte :: DeflateM Word8
- nextWord16 :: DeflateM Word16
- nextWord32 :: DeflateM Word32
- nextBlock :: Integral a => a -> DeflateM ByteString
- nextCode :: Show a => HuffmanTree a -> DeflateM a
- advanceToByte :: DeflateM ()
- emitByte :: Word8 -> DeflateM ()
- emitBlock :: ByteString -> DeflateM ()
- emitPastChunk :: Int -> Int64 -> DeflateM ()
- finalAdler :: DeflateM Word32
- moveWindow :: DeflateM ()
- finalize :: DeflateM ()
Documentation
runDeflateM :: DeflateM () -> ZlibDecoder Source #
data ZlibDecoder Source #
raise :: DecompressionError -> DeflateM a Source #
data DecompressionError Source #
Getting data from the input stream.
Aligning
advanceToByte :: DeflateM () Source #
Emitting data into the output window
emitBlock :: ByteString -> DeflateM () Source #
Getting and publishing output
moveWindow :: DeflateM () Source #