UNPKG

@yoroi/common

Version:
13 lines 394 B
export interface Hex { readonly value: string; readonly bytes: Uint8Array; readonly utf8: string; equals(other: Hex): boolean; } export declare function hex(value: string): Hex; export declare namespace hex { var isHexString: (str: string) => boolean; var fromUtf8: (str: string) => Hex; var fromBytes: (bytes: Uint8Array) => Hex; } //# sourceMappingURL=hex.d.ts.map