@ethereumjs/util / fromUtf8
fromUtf8(
stringValue
):string
Defined in: packages/util/src/internal.ts:148
Should be called to get hex representation (prefixed by 0x) of utf8 string. Strips leading and trailing 0’s.
string
string
hex representation of input string