@yoroi/common
Version:
The Common package of Yoroi SDK
13 lines • 394 B
TypeScript
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