• Compares two byte arrays using the same logic as strcmp()

    Parameters

    • bytes1: Uint8Array
    • bytes2: Uint8Array

    Returns number

    bytes1 < bytes2 --> -1; bytes1 == bytes2 --> 0; bytes1 > bytes2 --> 1

Generated using TypeDoc