hash


Description:

public uint hash ()

Creates an integer hash code for the byte data in the [struct@GLib.

Bytes].

This function can be passed to [func@GLib.HashTable.new] as the key_hash_func parameter, when using non-`NULL` `GBytes` pointers as keys in a [struct@GLib.HashTable].

Parameters:

this

a pointer to a [struct@GLib.Bytes] key

Returns:

a hash value corresponding to the key.