Safe Haskell | None |
---|---|
Language | Haskell2010 |
Consult the lzlib documentation for more details
Synopsis
- data LZErrno
- lZVersion :: String
- lZStrerror :: LZErrno -> String
- lZMinDictionaryBits :: CInt
- lZMinDictionarySize :: CInt
- lZMaxDictionaryBits :: CInt
- lZMaxDictionarySize :: CInt
- lZMinMatchLenLimit :: CInt
- lZMaxMatchLenLimit :: CInt
- type UInt8 = CUChar
- data LZEncoder
- type LZEncoderPtr = Ptr LZEncoder
- lZCompressOpen :: CInt -> CInt -> CULLong -> IO LZEncoderPtr
- lZCompressClose :: LZEncoderPtr -> IO CInt
- lZCompressFinish :: LZEncoderPtr -> IO CInt
- lZCompressRestartMember :: LZEncoderPtr -> CULLong -> IO CInt
- lZCompressSyncFlush :: LZEncoderPtr -> IO CInt
- lZCompressRead :: LZEncoderPtr -> Ptr UInt8 -> CInt -> IO CInt
- lZCompressWrite :: LZEncoderPtr -> Ptr UInt8 -> CInt -> IO CInt
- lZCompressWriteSize :: LZEncoderPtr -> IO CInt
- lZCompressErrno :: LZEncoderPtr -> IO LZErrno
- lZCompressFinished :: LZEncoderPtr -> IO CInt
- lZCompressMemberFinished :: LZEncoderPtr -> IO CInt
- lZCompressDataPosition :: LZEncoderPtr -> IO CULLong
- lZCompressMemberPosition :: LZEncoderPtr -> IO CULLong
- lZCompressTotalInSize :: LZEncoderPtr -> IO CULLong
- lZCompressTotalOutSize :: LZEncoderPtr -> IO CULLong
- data LZDecoder
- type LZDecoderPtr = Ptr LZDecoder
- lZDecompressOpen :: IO LZDecoderPtr
- lZDecompressClose :: LZDecoderPtr -> IO CInt
- lZDecompressFinish :: LZDecoderPtr -> IO CInt
- lZDecompressReset :: LZDecoderPtr -> IO CInt
- lZDecompressSyncToMember :: LZDecoderPtr -> IO CInt
- lZDecompressRead :: LZDecoderPtr -> Ptr UInt8 -> CInt -> IO CInt
- lZDecompressWrite :: LZDecoderPtr -> Ptr UInt8 -> CInt -> IO CInt
- lZDecompressWriteSize :: LZDecoderPtr -> IO CInt
- lZDecompressErrno :: LZDecoderPtr -> IO LZErrno
- lZDecompressFinished :: LZDecoderPtr -> IO CInt
- lZDecompressMemberFinished :: LZDecoderPtr -> IO CInt
- lZDecompressDictionarySize :: LZDecoderPtr -> IO CInt
- lZDecompressDataCrc :: LZDecoderPtr -> IO CUInt
- lZDecompressDataPosition :: LZDecoderPtr -> IO CULLong
- lZDecompressMemberPosition :: LZDecoderPtr -> IO CULLong
- lZDecompressTotalInSize :: LZDecoderPtr -> IO CULLong
- lZDecompressTotalOutSize :: LZDecoderPtr -> IO CULLong
Prolegomena
LzOk | |
LzBadArgument | |
LzMemError | |
LzSequenceError | |
LzHeaderError | |
LzUnexpectedEof | |
LzDataError | |
LzLibraryError |
lZStrerror :: LZErrno -> String Source #
Compression functions
type LZEncoderPtr = Ptr LZEncoder Source #
lZCompressOpen :: CInt -> CInt -> CULLong -> IO LZEncoderPtr Source #
lZCompressClose :: LZEncoderPtr -> IO CInt Source #
lZCompressFinish :: LZEncoderPtr -> IO CInt Source #
lZCompressRestartMember :: LZEncoderPtr -> CULLong -> IO CInt Source #
lZCompressSyncFlush :: LZEncoderPtr -> IO CInt Source #
lZCompressRead :: LZEncoderPtr -> Ptr UInt8 -> CInt -> IO CInt Source #
lZCompressWrite :: LZEncoderPtr -> Ptr UInt8 -> CInt -> IO CInt Source #
lZCompressWriteSize :: LZEncoderPtr -> IO CInt Source #
lZCompressErrno :: LZEncoderPtr -> IO LZErrno Source #
lZCompressFinished :: LZEncoderPtr -> IO CInt Source #
Decompression functions
type LZDecoderPtr = Ptr LZDecoder Source #
lZDecompressClose :: LZDecoderPtr -> IO CInt Source #
lZDecompressFinish :: LZDecoderPtr -> IO CInt Source #
lZDecompressReset :: LZDecoderPtr -> IO CInt Source #
lZDecompressRead :: LZDecoderPtr -> Ptr UInt8 -> CInt -> IO CInt Source #
lZDecompressWrite :: LZDecoderPtr -> Ptr UInt8 -> CInt -> IO CInt Source #