Codec.Zlib.Lowlevel

zlib-bindings-0.1.1.3: Low-level bindings to the zlib package.

Safe Haskell | None
Language | Haskell98

Codec.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_set_dictionary :: ZStream' -> Ptr CChar -> CUInt -> IO ()

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