bigintstr

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigIntStr

type BigIntStr big.Int

BigIntStr is a wrapper for big.Int which is marshaled to a string

func MustNew

func MustNew(str string) *BigIntStr

MustNew creates an instance of Fixed from a string

func (*BigIntStr) BigInt

func (v *BigIntStr) BigInt() *big.Int

BigInt returns big.Int representation

func (BigIntStr) MarshalJSON

func (v BigIntStr) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaller

func (*BigIntStr) String

func (v *BigIntStr) String() string

String implements fmt.Stringer

func (*BigIntStr) UnmarshalJSON

func (v *BigIntStr) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaller

Jump to

Keyboard shortcuts

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