web3-utils
Version:
Collection of utility functions used in web3.js.
7 lines (6 loc) • 321 B
TypeScript
export declare function isUint8Array(data: unknown | Uint8Array): data is Uint8Array;
export declare function uint8ArrayConcat(...parts: Uint8Array[]): Uint8Array;
/**
* Returns true if the two passed Uint8Arrays have the same content
*/
export declare function uint8ArrayEquals(a: Uint8Array, b: Uint8Array): boolean;