Data.Streaming.Zlib.Lowlevel

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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.Streaming.Zlib.Lowlevel

# Documentation

data ZStreamStruct #

type ZStream' = Ptr ZStreamStruct #

zstreamNew :: IO ZStream' #

data Strategy #

Constructors

StrategyDefault |
StrategyFiltered |
StrategyHuffman |
StrategyRLE |
StrategyFixed |

#### Instances

Instances details

Enum Strategy # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel 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] #
Show Strategy # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel Methods showsPrec :: Int -> Strategy -> ShowS # show :: Strategy -> String # showList :: [Strategy] -> ShowS #
Eq Strategy # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel Methods (==) :: Strategy -> Strategy -> Bool # (/=) :: Strategy -> Strategy -> Bool #
Ord Strategy # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel 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 #

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 CInt #

c_call_inflate_set_dictionary :: ZStream' -> Ptr CChar -> CUInt -> IO CInt #