package
1.14.2
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Functions

BoolToByte converts bool to byte.
BytesToUint64 converts 8 bytes to uint64 in little-endian.
BytesToUint64BigEndian converts 8 bytes to uint64 in big-endian.
Must is a helper wraps a call to a function returning ([]byte, error) and panics if the error is not nil.
Uint32ToBytes converts a uint32 to 4 bytes in little-endian.
Uint32ToBytesBigEndian converts a uint32 to 4 bytes in big-endian.
Uint64ToBytes converts a uint64 to 8 bytes in little-endian.
Uint64ToBytesBigEndian converts a uint64 to 8 bytes in big-endian.