Function compareBytes

  • Can be used with Array.sort to sort and array with Uint8Array entries

    Parameters

    • a: Uint8Array<ArrayBufferLike>
    • b: Uint8Array<ArrayBufferLike>

    Returns number