Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeString ¶
DecodeString parses the given hex string to bytes, it can return error if the hex string is invalid. Follows the semantic of ethereum's FromHex.
func EnsurePrefix ¶
EnsurePrefix adds the prefix (0x) to a given hex string.
func TrimPrefix ¶
TrimPrefix removes the prefix (0x) of a given hex string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.