cmpUint8Array3.d.ts 419 B

123456789
  1. /**
  2. * Compares two `Uint8Arrays`, first by length, then by each byte. Returns a
  3. * negative number if `a` is less than `b`, a positive number if `a` is greater
  4. * than `b`, or 0 if `a` is equal to `b`.
  5. *
  6. * @returns A negative number if a is less than b, a positive number if a is
  7. * greater than b, or 0 if a is equal to b.
  8. */
  9. export declare const cmpUint8Array3: (a: Uint8Array, b: Uint8Array) => number;