Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 565 Bytes

eth-connect.fromascii.md

File metadata and controls

25 lines (15 loc) · 565 Bytes

Home > eth-connect > fromAscii

fromAscii() function

Should be called to get hex representation (prefixed by 0x) of ascii string

Signature:

export declare function fromAscii(str: string, num?: number): string;

Parameters

Parameter Type Description
str string
num number (Optional)

Returns:

string