fromAscii

Helper function that will convert ASCII to HEX

tronWeb.fromUtf8("test")

result = "74657374"

string

String to convert to hex from ASCII.