UNPKG

@bsv/wallet-toolbox

Version:

BRC100 conforming wallet, wallet storage and wallet signer components

9 lines 489 B
/** * 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