utils.string.toHex
toHex(str: string) → {string}
convert a string to the corresponding hexadecimal value
Name | Type | Description |
---|---|---|
str | string |
the string to be converted |
Type | Description |
---|---|
string |
the converted hexadecimal value |