streaming-commons-0.1.14.2: Common lower-level functions needed by various streaming data libraries

Safe Haskell | Safe
Language | Haskell98

Data.Streaming.Zlib.Lowlevel

# Documentation

data ZStreamStruct

type ZStream' = Ptr ZStreamStruct

zstreamNew :: IO ZStream'

data Strategy

Constructors

StrategyDefault |
StrategyFiltered |
StrategyHuffman |
StrategyRLE |
StrategyFixed |

Instances

Enum Strategy |
Eq Strategy |
Ord Strategy |
Show Strategy |

deflateInit2 :: ZStream' -> Int -> WindowBits -> Int -> Strategy -> IO ()

inflateInit2 :: ZStream' -> WindowBits -> IO ()

c_free_z_stream_inflate :: FunPtr (ZStream' -> IO ())

c_free_z_stream_deflate :: FunPtr (ZStream' -> IO ())

c_set_avail_in :: ZStream' -> Ptr CChar -> CUInt -> IO ()

c_set_avail_out :: ZStream' -> Ptr CChar -> CUInt -> IO ()

c_get_avail_out :: ZStream' -> IO CUInt

c_get_avail_in :: ZStream' -> IO CUInt

c_get_next_in :: ZStream' -> IO (Ptr CChar)

c_call_inflate_noflush :: ZStream' -> IO CInt

c_call_deflate_noflush :: ZStream' -> IO CInt

c_call_deflate_finish :: ZStream' -> IO CInt

c_call_deflate_flush :: ZStream' -> IO CInt

c_call_deflate_full_flush :: ZStream' -> IO CInt

c_call_deflate_set_dictionary :: ZStream' -> Ptr CChar -> CUInt -> IO ()

c_call_inflate_set_dictionary :: ZStream' -> Ptr CChar -> CUInt -> IO ()