Skip to content

bytesIsEqual

bytesIsEqual(a, b): boolean

Defined in: packages/core/src/buffer/bytes-is-equal.ts:8

Compares two Uint8Arrays for byte-for-byte equality.

Uint8Array

The first array to compare.

Uint8Array

The second array to compare.

boolean

True if both arrays have the same length and contents.