Idris2Doc : Codec.Compression.Zlib.Types

Codec.Compression.Zlib.Types

(source)

Definitions

record Compressor : Type
  Represents an initialized zlib compression stream owned by the
high-level compression API.

A `Compressor` is created only after zlib has successfully initialized
the underlying stream. It must therefore eventually be finalized with
`deflateEnd` and its native stream storage released.

Totality: total
Visibility: public export
Constructor: 
MkCompressor : ZStreamHandle -> Compressor

Projection: 
.stream : Compressor -> ZStreamHandle
.stream : Compressor -> ZStreamHandle
Totality: total
Visibility: public export
stream : Compressor -> ZStreamHandle
Totality: total
Visibility: public export
record Decompressor : Type
  Represents an initialized zlib decompression stream owned by the
high-level decompression API.

A `Decompressor` is created only after zlib has successfully initialized
the underlying stream. It must therefore eventually be finalized with
`inflateEnd` and its native stream storage released.

Totality: total
Visibility: public export
Constructor: 
MkDecompressor : ZStreamHandle -> Decompressor

Projection: 
.stream : Decompressor -> ZStreamHandle
.stream : Decompressor -> ZStreamHandle
Totality: total
Visibility: public export
stream : Decompressor -> ZStreamHandle
Totality: total
Visibility: public export
record BufferResult : Type
  Describes the progress made by one zlib buffer operation.

`consumed` is the number of input bytes consumed by zlib and `produced`
is the number of bytes written to the supplied output buffer.

Totality: total
Visibility: public export
Constructor: 
MkBufferResult : Int -> Nat -> Nat -> BufferResult

Projections:
.consumed : BufferResult -> Nat
.produced : BufferResult -> Nat
.status : BufferResult -> Int
.status : BufferResult -> Int
Totality: total
Visibility: public export
status : BufferResult -> Int
Totality: total
Visibility: public export
.consumed : BufferResult -> Nat
Totality: total
Visibility: public export
consumed : BufferResult -> Nat
Totality: total
Visibility: public export
.produced : BufferResult -> Nat
Totality: total
Visibility: public export
produced : BufferResult -> Nat
Totality: total
Visibility: public export
record CompressStreamResult : Type
  Result of incrementally compressing input.

`output` contains zero or more compressed chunks generated while consuming
the supplied input.

`finished` is true only after zlib has returned `Z_STREAM_END`.

Totality: total
Visibility: public export
Constructor: 
MkCompressStreamResult : Nat -> List AnyBuffer -> Bool -> CompressStreamResult

Projections:
.consumed : CompressStreamResult -> Nat
.finished : CompressStreamResult -> Bool
.output : CompressStreamResult -> List AnyBuffer
.consumed : CompressStreamResult -> Nat
Totality: total
Visibility: public export
consumed : CompressStreamResult -> Nat
Totality: total
Visibility: public export
.output : CompressStreamResult -> List AnyBuffer
Totality: total
Visibility: public export
output : CompressStreamResult -> List AnyBuffer
Totality: total
Visibility: public export
.finished : CompressStreamResult -> Bool
Totality: total
Visibility: public export
finished : CompressStreamResult -> Bool
Totality: total
Visibility: public export
record DecompressStreamResult : Type
  Result of incrementally decompressing input.

`consumed` is the number of bytes consumed from the supplied input buffer.
This can be less than the input size when `Z_STREAM_END` is reached, allowing
the caller to retain trailing bytes or begin processing another stream.

`output` contains zero or more decompressed chunks.

`finished` is true when zlib returned `Z_STREAM_END`.

Totality: total
Visibility: public export
Constructor: 
MkDecompressStreamResult : Nat -> List AnyBuffer -> Bool -> DecompressStreamResult

Projections:
.consumed : DecompressStreamResult -> Nat
.finished : DecompressStreamResult -> Bool
.output : DecompressStreamResult -> List AnyBuffer
.consumed : DecompressStreamResult -> Nat
Totality: total
Visibility: public export
consumed : DecompressStreamResult -> Nat
Totality: total
Visibility: public export
.output : DecompressStreamResult -> List AnyBuffer
Totality: total
Visibility: public export
output : DecompressStreamResult -> List AnyBuffer
Totality: total
Visibility: public export
.finished : DecompressStreamResult -> Bool
Totality: total
Visibility: public export
finished : DecompressStreamResult -> Bool
Totality: total
Visibility: public export