equal

fun equal(bytes2: Bytes): Boolean(source)

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

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.

Return

true if the two keys match.

Since

2.32

Parameters

bytes2

a pointer to a #GBytes to compare with @bytes1