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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.Streaming.Zlib.Lowlevel

# Documentation

data ZStreamStruct Source #

type ZStream' = Ptr ZStreamStruct Source #

zstreamNew :: IO ZStream' Source #

data Strategy Source #

Constructors

StrategyDefault |
StrategyFiltered |
StrategyHuffman |
StrategyRLE |
StrategyFixed |

#### Instances

Instances details

Enum Strategy Source # |

Instance details

Defined in Data.Streaming.Zlib.Lowlevel

Methods

succ :: Strategy -> Strategy Source #

pred :: Strategy -> Strategy Source #

toEnum :: Int -> Strategy Source #

fromEnum :: Strategy -> Int Source #

enumFrom :: Strategy -> [Strategy] Source #

enumFromThen :: Strategy -> Strategy -> [Strategy] Source #

enumFromTo :: Strategy -> Strategy -> [Strategy] Source #

enumFromThenTo :: Strategy -> Strategy -> Strategy -> [Strategy] Source #

Show Strategy Source # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel Methods showsPrec :: Int -> Strategy -> ShowS Source # show :: Strategy -> String Source # showList :: [Strategy] -> ShowS Source #
Eq Strategy Source # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel Methods (==) :: Strategy -> Strategy -> Bool Source # (/=) :: Strategy -> Strategy -> Bool Source #
Ord Strategy Source # |
Instance details Defined in Data.Streaming.Zlib.Lowlevel Methods compare :: Strategy -> Strategy -> Ordering Source # (<) :: Strategy -> Strategy -> Bool Source # (<=) :: Strategy -> Strategy -> Bool Source # (>) :: Strategy -> Strategy -> Bool Source # (>=) :: Strategy -> Strategy -> Bool Source # max :: Strategy -> Strategy -> Strategy Source # min :: Strategy -> Strategy -> Strategy Source #

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

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

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

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

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

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

c_get_avail_out :: ZStream' -> IO CUInt Source #

c_get_avail_in :: ZStream' -> IO CUInt Source #

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

c_call_inflate_noflush :: ZStream' -> IO CInt Source #

c_call_deflate_noflush :: ZStream' -> IO CInt Source #

c_call_deflate_finish :: ZStream' -> IO CInt Source #

c_call_deflate_flush :: ZStream' -> IO CInt Source #

c_call_deflate_full_flush :: ZStream' -> IO CInt Source #

c_call_deflate_set_dictionary :: ZStream' -> Ptr CChar -> CUInt -> IO CInt Source #

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