Home > eth-connect > fromAscii
Should be called to get hex representation (prefixed by 0x) of ascii string
Signature:
export declare function fromAscii(str: string, num?: number): string;
Parameter | Type | Description |
---|---|---|
str | string | |
num | number | (Optional) |
Returns:
string