Companion

object Companion : RecordCompanion<Checksum, <Error class: unknown class>>

Functions

Link copied to clipboard
fun new(checksumType: ChecksumType): Checksum?

Creates a new #GChecksum, using the checksum algorithm @checksum_type. If the @checksum_type is not known, null is returned. A #GChecksum can be used to compute the checksum, or digest, of an arbitrary binary blob, using different hashing algorithms.

Link copied to clipboard
fun typeGetLength(checksumType: ChecksumType): Long

Gets the length in bytes of digests of type @checksum_type

Link copied to clipboard
open override fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): Checksum

Wrap a CPointer pointing to a record of this type into its wrapper class.