Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinAddrLen = 20 MaxAddrLen = 32 )
Variables ¶
This section is empty.
Functions ¶
func PadOrTruncateAddress ¶
PadOrTruncateAddress right-pads an address with zeros if it's shorter than `MinAddrLen` or takes the first `MaxAddrLen` if it's longer than that.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.