Bytes.hash

uint 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.

Returns

a hash value corresponding to the key.