wallet-storage-client
Version:
Client only Wallet Storage
9 lines • 489 B
TypeScript
/**
* Coerce a value to a hex encoded string if currently a hex encoded string or number[]
* @param val string or number[]. If string, encoding must be hex. If number[], each value must be 0..255.
* @returns input val if it is a string; or if number[], converts byte values to hex
* @publicbody
*/
export declare function asString(val: string | number[]): string;
export declare function asArray(val: string | number[]): number[];
//# sourceMappingURL=utilityHelpers.noBuffer.d.ts.map