Documentation ¶
Index ¶
- Variables
- type BigInt
- func (b *BigInt) Add(num *BigInt) *BigInt
- func (b *BigInt) Bytes() []byte
- func (b *BigInt) Cmp(num *BigInt) int
- func (b *BigInt) DecodeRLP(s *rlp.Stream) (err error)
- func (b *BigInt) EncodeRLP(w io.Writer) error
- func (b *BigInt) MarshalJSON() ([]byte, error)
- func (b *BigInt) SetBytes(bin []byte)
- func (b *BigInt) String() string
- func (b *BigInt) StringPointer() *string
- func (b *BigInt) Sub(num *BigInt) *BigInt
- func (b *BigInt) ToUint64() uint64
- func (b *BigInt) UnmarshalJSON(bs []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBigInt = errors.New("invalid BigInt")
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
func (*BigInt) MarshalJSON ¶
func (*BigInt) StringPointer ¶
func (*BigInt) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.