utils.string.toHex

toHex(str: string) → {string}

convert a string to the corresponding hexadecimal value

Parameters:
Name Type Description
str string

the string to be converted

Returns:
Type Description
string

the converted hexadecimal value

Powered by webdoc!