Idris2Doc : Codec.Compression.Zlib.Checksum

Codec.Compression.Zlib.Checksum

(source)

Definitions

crc32Update : Bits32 -> IBuffer n -> IO Bits32
  Update an existing CRC-32 checksum with the contents of a byte buffer.

This function can be used incrementally by passing the checksum returned
from one invocation as the initial checksum of the next.

The initial CRC-32 value for a new checksum is `0`.

Totality: total
Visibility: export
crc32 : IBuffer n -> IO Bits32
  Compute the CRC-32 checksum of an immutable byte buffer.

This is equivalent to calling `crc32Update` with zlib's initial CRC-32
value of `0`.

Totality: total
Visibility: export
adler32Update : Bits32 -> IBuffer n -> IO Bits32
  Update an existing Adler-32 checksum with the contents of a byte buffer.

This function can be used incrementally by passing the checksum returned
from one invocation as the initial checksum of the next.

The initial Adler-32 value for a new checksum is `1`.

Totality: total
Visibility: export
adler32 : IBuffer n -> IO Bits32
  Compute the Adler-32 checksum of an immutable byte buffer.

This is equivalent to calling `adler32Update` with zlib's initial
Adler-32 value of `1`.

Totality: total
Visibility: export