web3x
Version:
Typescript port of web3.js
17 lines (16 loc) • 483 B
TypeScript
/**
* Should be called to get ascii from it's hex representation
*
* @method hexToAscii
* @param {String} hex
* @returns {String} ascii string representation of hex value
*/
export declare let hexToAscii: (hex: string) => string;
/**
* Should be called to get hex representation (prefixed by 0x) of ascii string
*
* @method asciiToHex
* @param {String} str
* @returns {String} hex representation of input string
*/
export declare let asciiToHex: (str: string) => string;