UNPKG

@avalabs/avalanchejs

Version:
10 lines 579 B
import { concatBytes } from '@noble/hashes/utils'; import { add0x, strip0x } from 'micro-eth-signer'; export declare function bufferToBigInt(buf: Uint8Array): bigint; export declare function bufferToNumber(buf: Uint8Array): number; export declare function bufferToHex(buf: Uint8Array): string; export declare function hexToBuffer(hex: string): Uint8Array; export declare function padLeft(bytes: Uint8Array, length: number): Uint8Array; export declare const hammingWeight: (input: Uint8Array) => number; export { concatBytes, strip0x, add0x }; //# sourceMappingURL=buffer.d.ts.map