Idris2Doc : Codec.Compression.Zlib.Utilities

Codec.Compression.Zlib.Utilities

(source)

Definitions

grabMonotonicTime : Elin World [Errno] (IClock CLOCK_MONOTONIC)
  Grab CLOCK_MONOTONIC.

Totality: total
Visibility: export
grabRealTime : Elin World [Errno] (IClock CLOCK_REALTIME)
  Grab CLOCK_REALTIME.

Totality: total
Visibility: export
zlibStatusMessage : Int -> String
  Converts a zlib status code to a human-readable description.

Totality: total
Visibility: export
mkError : String -> String -> IO (List ZlibError)
  Constructs a timestamped zlib error.

If obtaining CLOCK_REALTIME itself fails, both the timer error and the
original zlib error are retained without timestamps.

Totality: total
Visibility: export
statusError : String -> Int -> IO (List ZlibError)
  Constructs a timestamped `ZlibError` from a raw zlib status code.

Totality: total
Visibility: export
freezeOutput : (used : Nat) -> IOBuffer capacity -> {auto 0 _ : LTE used capacity} -> IO AnyBuffer
  Copy the used prefix of a mutable output buffer into an independently
owned immutable buffer.

Totality: total
Visibility: export