GLib.Checksum.prototype.update
function update(data: ByteArray): void {
// Gjs wrapper for g_checksum_update()
}
Feeds data into an existing GLib.Checksum. The checksum must still be open, that is GLib.Checksum.prototype.get_string or GLib.Checksum.get_digest must not have been called on checksum.
Since 2.16
- data
buffer used to compute the checksum