Versions in this module Expand all Collapse all v1 v1.0.0 Sep 20, 2023 Changes in this version + var ErrMissingPrefix = &decError + var ErrOddLength = &decError + var ErrSyntax = &decError + func Encode(b []byte) string + func EncodeTs(number uint64) []byte + func FromHex(s string) []byte + func Has0xPrefix(str string) bool + func Hex2Bytes(str string) []byte + func IsHex(str string) bool + func MustDecodeHex(in string) []byte + func MustDecodeString(s string) []byte + func UnmarshalFixedJSON(typ reflect.Type, input, out []byte) error + func UnmarshalFixedText(typeName string, input, out []byte) error + type Bytes []byte + func (b *Bytes) UnmarshalJSON(input []byte) error + func (b *Bytes) UnmarshalText(input []byte) error + func (b Bytes) MarshalText() ([]byte, error) + func (b Bytes) String() string