Bytes.hash

Creates an integer hash code for the byte data in the GBytes. This function can be passed to g_hash_table_new() as the key_equal_func parameter, when using non-NULL GBytes pointers as keys in a GHashTable. Since 2.32

class Bytes
static
uint
hash
(
void* bytes
)

Parameters

bytes void*

a pointer to a GBytes key. [type GLib.Bytes]

Return Value

Type: uint

a hash value corresponding to the key.

Meta