GLib.Checksum.type_get_length

function type_get_length(checksum_type: GLib.ChecksumType): Number(gssize) {
    // Gjs wrapper for g_checksum_type_get_length()
}
  

Gets the length in bytes of digests of type checksum_type

Since 2.16

checksum_type

a GLib.ChecksumType

Returns

the checksum length, or -1 if checksum_type is not supported.