Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data DeflateM a
- runDeflateM :: DeflateM a -> ByteString -> Either DecompressionError a
- data DecompressionError
- nextBit :: DeflateM Bool
- nextBits :: (Num a, Bits a) => Int -> DeflateM a
- nextByte :: DeflateM Word8
- nextWord16 :: DeflateM Word16
- nextBlock :: Integral a => a -> DeflateM ByteString
- nextCode :: Show a => HuffmanTree a -> DeflateM a
- readRest :: DeflateM ByteString
- advanceToByte :: DeflateM ()
- emitByte :: Word8 -> DeflateM ()
- emitBlock :: ByteString -> DeflateM ()
- emitPastChunk :: Int -> Int64 -> DeflateM ()
- finalAdler :: DeflateM Word32
- finalOutput :: DeflateM ByteString
Documentation
runDeflateM :: DeflateM a -> ByteString -> Either DecompressionError a Source #
data DecompressionError Source #
Getting data from the input stream.
Aligning
advanceToByte :: DeflateM () Source #
Emitting data
emitBlock :: ByteString -> DeflateM () Source #