Documentation ¶
Index ¶
- Variables
- type Uint128
- func (ui128 *Uint128) Add(y *Uint128) bool
- func (ui128 *Uint128) BitLen() int
- func (ui128 *Uint128) Div(y *Uint128) bool
- func (ui128 *Uint128) MarshalJSON() ([]byte, error)
- func (ui128 *Uint128) Mul(y *Uint128) bool
- func (ui128 *Uint128) String() string
- func (ui128 *Uint128) Sub(y *Uint128) bool
- func (ui128 *Uint128) UnmarshalJSON(byteJson []byte) (err error)
- type Uint256
- func AddUint256(x *Uint256, y *Uint256) (ret *Uint256, check bool)
- func DivUint256(x *Uint256, y *Uint256) (ret *Uint256, check bool)
- func MulUint256(x *Uint256, y *Uint256) (ret *Uint256, check bool)
- func NewUint256FromBigInt(data *big.Int) *Uint256
- func NewUint256FromBytes(data []byte) *Uint256
- func NewUint256FromHexString(data string) *Uint256
- func NewUint256FromString(data string, base int) *Uint256
- func NewUint256FromUint256(data *Uint256) *Uint256
- func SubUint256(x *Uint256, y *Uint256) (ret *Uint256, check bool)
- func (ui256 *Uint256) Add(y *Uint256) bool
- func (ui256 *Uint256) BitLen() int
- func (ui256 *Uint256) Bytes() []byte
- func (ui256 *Uint256) Comp(y *Uint256) int
- func (ui256 *Uint256) Div(y *Uint256) bool
- func (ui256 *Uint256) MarshalJSON() ([]byte, error)
- func (ui256 *Uint256) Mul(y *Uint256) bool
- func (ui256 *Uint256) String() string
- func (ui256 *Uint256) Sub(y *Uint256) bool
- func (ui256 *Uint256) UnmarshalJSON(byteJson []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Uint128 ¶
type Uint128 struct {
// contains filtered or unexported fields
}
func NewUint128FromBigInt ¶
func NewUint128FromBytes ¶
func NewUint128FromHexString ¶
func NewUint128FromString ¶
func NewUint128FromUint128 ¶
func (*Uint128) MarshalJSON ¶
func (*Uint128) UnmarshalJSON ¶
type Uint256 ¶
type Uint256 struct {
// contains filtered or unexported fields
}
func NewUint256FromBigInt ¶
func NewUint256FromBytes ¶
func NewUint256FromHexString ¶
func NewUint256FromString ¶
func NewUint256FromUint256 ¶
func (*Uint256) MarshalJSON ¶
func (*Uint256) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.