Versions in this module Expand all Collapse all v0 v0.0.2 Aug 11, 2023 Changes in this version + var ErrBig256Range = &decError + var ErrEmptyNumber = &decError + var ErrEmptyString = &decError + var ErrLeadingZero = &decError + var ErrMissingPrefix = &decError + var ErrOddLength = &decError + var ErrSyntax = &decError + var ErrUint64Range = &decError + var ErrUintRange = &decError + func Decode(s string) []byte + func DecodeHash(s string) (common.Hash, error) + func Encode(b []byte) string + func EncodeBig(bigint *big.Int) string + func EncodeUint64(i uint64) string + func UnmarshalFixedJSON(typ reflect.Type, input, out []byte) error + func UnmarshalFixedText(typname string, input, out []byte) error + func UnmarshalFixedUnprefixedText(typname string, input, out []byte) error + type Big big.Int + func (b *Big) String() string + func (b *Big) ToInt() *big.Int + func (b *Big) UnmarshalGraphQL(input interface{}) error + func (b *Big) UnmarshalJSON(input []byte) error + func (b *Big) UnmarshalText(input []byte) error + func (b Big) ImplementsGraphQLType(name string) bool + func (b Big) MarshalText() ([]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 + type Uint uint + func (b *Uint) UnmarshalJSON(input []byte) error + func (b *Uint) UnmarshalText(input []byte) error + func (b Uint) MarshalText() ([]byte, error) + func (b Uint) String() string + type Uint64 uint64 + func (b *Uint64) UnmarshalGraphQL(input interface{}) error + func (b *Uint64) UnmarshalJSON(input []byte) error + func (b *Uint64) UnmarshalText(input []byte) error + func (b Uint64) ImplementsGraphQLType(name string) bool + func (b Uint64) MarshalText() ([]byte, error) + func (b Uint64) String() string