record ZStreamHandle : Type An opaque handle to a zlib `z_stream` structure.
The structure is allocated and managed by the zlib implementation and is never inspected directly by Idris code.
The contained pointer is passed to the low-level zlib FFI functions.
Totality: total
Visibility: public export
Constructor: MkZStreamHandle : AnyPtr -> ZStreamHandle
Projection: .ptr : ZStreamHandle -> AnyPtr
.ptr : ZStreamHandle -> AnyPtr- Visibility: public export
ptr : ZStreamHandle -> AnyPtr- Visibility: public export
data ZlibCompressionLevel : Type Represents the compression level supplied to zlib.
`NoCompression`, `BestSpeed`, `BestCompression`, and `DefaultCompression` correspond to zlib's predefined compression levels.
`CompressionLevel` allows an explicit zlib compression level to be supplied.
Totality: total
Visibility: public export
Constructors:
NoCompression : ZlibCompressionLevel BestSpeed : ZlibCompressionLevel BestCompression : ZlibCompressionLevel DefaultCompression : ZlibCompressionLevel CompressionLevel : Int -> ZlibCompressionLevel
Hints:
Eq ZlibCompressionLevel Show ZlibCompressionLevel
zlibCompressionLevelValue : ZlibCompressionLevel -> Int Converts an Idris compression-level value to the integer expected by the zlib compression API.
Visibility: exportdata FlushMode : Type Specifies when zlib should flush pending compressed output.
Totality: total
Visibility: public export
Constructors:
NoFlush : FlushMode PartialFlush : FlushMode SyncFlush : FlushMode FullFlush : FlushMode Finish : FlushMode Block : FlushMode
Hints:
Eq FlushMode Show FlushMode
flushModeValue : FlushMode -> Int Converts an Idris flush mode to the integer constant expected by the zlib compression API.
Visibility: exportdata Wrapper : Type Specifies the wrapper format used around a DEFLATE stream.
`ZlibWrapper` selects the standard zlib format.
`GZipWrapper` selects the gzip format.
`RawWrapper` selects a raw DEFLATE stream without a zlib or gzip wrapper.
Totality: total
Visibility: public export
Constructors:
ZlibWrapper : Wrapper GZipWrapper : Wrapper RawWrapper : Wrapper
Hints:
Eq Wrapper Show Wrapper
defaultWindowBits : Int The default zlib window size used by the standard zlib wrapper.
Visibility: exportwindowBits : Wrapper -> Int Converts a wrapper format to the corresponding `windowBits` value required by zlib's `deflateInit2` and `inflateInit2` functions.
Visibility: exportdata Strategy : Type Specifies the compression strategy used by zlib.
Totality: total
Visibility: public export
Constructors:
DefaultStrategy : Strategy Filtered : Strategy HuffmanOnly : Strategy RLE : Strategy Fixed : Strategy
Hints:
Eq Strategy Show Strategy
strategyValue : Strategy -> Int Converts an Idris compression strategy to the integer constant expected by zlib.
Visibility: export