Function: bytesEqual()
bytesEqual(
a,b):boolean
Efficiently compare byte arrays, using arraysEqual.
Parameters
a
Uint8Array
A byte array.
b
Uint8Array
Another byte array.
Returns
boolean
true if the byte arrays have the same length and bytes, false otherwise.