field

package
v0.0.0-...-9f09256 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2023 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBigInt = errors.New("invalid BigInt")

Functions

This section is empty.

Types

type BigInt

type BigInt big.Int

func NewInt

func NewInt(x int64) *BigInt

func (*BigInt) Add

func (b *BigInt) Add(num *BigInt) *BigInt

func (*BigInt) Bytes

func (b *BigInt) Bytes() []byte

func (*BigInt) Cmp

func (b *BigInt) Cmp(num *BigInt) int

func (*BigInt) DecodeRLP

func (b *BigInt) DecodeRLP(s *rlp.Stream) (err error)

func (*BigInt) EncodeRLP

func (b *BigInt) EncodeRLP(w io.Writer) error

func (*BigInt) MarshalJSON

func (b *BigInt) MarshalJSON() ([]byte, error)

func (*BigInt) SetBytes

func (b *BigInt) SetBytes(bin []byte)

func (*BigInt) String

func (b *BigInt) String() string

func (*BigInt) StringPointer

func (b *BigInt) StringPointer() *string

func (*BigInt) Sub

func (b *BigInt) Sub(num *BigInt) *BigInt

func (*BigInt) ToUint64

func (b *BigInt) ToUint64() uint64

func (*BigInt) UnmarshalJSON

func (b *BigInt) UnmarshalJSON(bs []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL