Bytes.hash

Creates an integer hash code for the byte data in the #GBytes.

This function can be passed to glib.hash_table.HashTable.new_ as the key_hash_func parameter, when using non-null #GBytes pointers as keys in a #GHashTable.

class Bytes
uint
hash
()

Return Value

Type: uint

a hash value corresponding to the key.