@jsonjoy.com/buffers
Version:
Various helper utilities for working with buffers and binary data
10 lines • 439 B
TypeScript
/**
* Compares two `Uint8Arrays` byte-by-byte. Returns a negative number if `a` is
* less than `b`, a positive number if `a` is greater than `b`, or 0 if `a` is
* equal to `b`.
*
* @returns A negative number if a is less than b, a positive number if a is
* greater than b, or 0 if a is equal to b.
*/
export declare const cmpUint8Array2: (a: Uint8Array, b: Uint8Array) => number;
//# sourceMappingURL=cmpUint8Array2.d.ts.map