streaming-commons-0.1.18: 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 # |
Methods succ :: Strategy -> Strategy # pred :: Strategy -> Strategy # toEnum :: Int -> Strategy # fromEnum :: Strategy -> Int # enumFrom :: Strategy -> [Strategy] # enumFromThen :: Strategy -> Strategy -> [Strategy] # enumFromTo :: Strategy -> Strategy -> [Strategy] # enumFromThenTo :: Strategy -> Strategy -> Strategy -> [Strategy] #
Eq Strategy # |
Methods (==) :: Strategy -> Strategy -> Bool # (/=) :: Strategy -> Strategy -> Bool #
Ord Strategy # |
Methods compare :: Strategy -> Strategy -> Ordering # (<) :: Strategy -> Strategy -> Bool # (<=) :: Strategy -> Strategy -> Bool # (>) :: Strategy -> Strategy -> Bool # (>=) :: Strategy -> Strategy -> Bool # max :: Strategy -> Strategy -> Strategy # min :: Strategy -> Strategy -> Strategy #
Show Strategy # |
Methods showsPrec :: Int -> Strategy -> ShowS # show :: Strategy -> String # showList :: [Strategy] -> ShowS #

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 () #