Versions in this module Expand all Collapse all v1 v1.1.14 Oct 6, 2022 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(input string) ([]byte, error) + func DecodeBig(input string) (*big.Int, error) + func DecodeUint64(input string) (uint64, error) + func Encode(b []byte) string + func EncodeBig(bigint *big.Int) string + func EncodeUint64(i uint64) string + func MustDecode(input string) []byte + func MustDecodeBig(input string) *big.Int + func MustDecodeUint64(input string) uint64 + 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) UnmarshalGraphQL(input interface{}) error + func (b *Bytes) UnmarshalJSON(input []byte) error + func (b *Bytes) UnmarshalText(input []byte) error + func (b Bytes) ImplementsGraphQLType(name string) bool + 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