Sets our main struct and passes it to the parent class.
Creates a new glib.Checksum, using the checksum algorithm checksum_type. If the checksum_type is not known, NULL is returned. A glib.Checksum can be used to compute the checksum, or digest, of an arbitrary binary blob, using different hashing algorithms.
A destructor is present on this object, but not explicitly documented in the source.
Copies a glib.Checksum If checksum has been closed, by calling Checksum.getString or Checksum.getDigest, the copied checksum will be closed as well.
Frees the memory allocated for checksum.
Get the main Gtk struct
Gets the digest from checksum as a raw binary vector and places it into buffer. The size of the digest depends on the type of checksum.
Gets the digest as a hexadecimal string.
the main Gtk struct as a void*
Resets the state of the checksum back to its initial state.
Feeds data into an existing glib.Checksum The checksum must still be open, that is Checksum.getString or Checksum.getDigest must not have been called on checksum.
Computes the checksum for a binary data. This is a convenience wrapper for Checksum.new, Checksum.getString and Checksum.free.
Computes the checksum for a binary data of length. This is a convenience wrapper for Checksum.new, Checksum.getString and Checksum.free.
Computes the checksum of a string.
Gets the length in bytes of digests of type checksum_type
the main Gtk struct
An opaque structure representing a checksumming operation. To create a new GChecksum, use Checksum.new. To free a GChecksum, use Checksum.free.