• Compares two byte-like values for equality.

    Parameters

    • a: BytesLike

      The first byte-like value to compare.

    • b: BytesLike

      The second byte-like value to compare.

    Returns boolean

    A boolean indicating whether the two byte-like values are equal.

    bytesEq([1], Uint8Array.from([1])) // true