UNPKG

@lodestar/utils

Version:

Utilities required across multiple lodestar packages

8 lines 385 B
export declare function toHex(buffer: Uint8Array | Parameters<typeof Buffer.from>[0]): string; /** * Convert a Uint8Array, length 32, to 0x-prefixed hex string */ export declare function toRootHex(root: Uint8Array): string; export declare function toPubkeyHex(pubkey: Uint8Array): string; export declare function fromHex(hex: string): Uint8Array; //# sourceMappingURL=nodejs.d.ts.map