Bytes.equal

bool equal(glib.bytes.Bytes bytes2)

Compares the two #GBytes values being pointed to and returns true if they are equal.

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

Parameters

bytes2a pointer to a #GBytes to compare with bytes1

Returns

true if the two keys match.