bigint

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUint160Equal

func IsUint160Equal(l *Uint160, r *Uint160) bool

func IsUint256Equal

func IsUint256Equal(l *Uint256, r *Uint256) bool

Types

type Uint160

type Uint160 struct {
	// contains filtered or unexported fields
}

func (Uint160) GetData

func (u Uint160) GetData() []byte

func (Uint160) GetDataSize

func (u Uint160) GetDataSize() int

func (Uint160) GetHex

func (u Uint160) GetHex() string

func (Uint160) Pack

func (u Uint160) Pack(writer io.Writer) error

func (*Uint160) SetData

func (u *Uint160) SetData(bytes []byte) error

func (*Uint160) SetHex

func (u *Uint160) SetHex(hexStr string) error

func (*Uint160) UnPack

func (u *Uint160) UnPack(reader io.Reader) error

type Uint256

type Uint256 struct {
	// contains filtered or unexported fields
}

func (Uint256) GetData

func (u Uint256) GetData() []byte

func (Uint256) GetDataSize

func (u Uint256) GetDataSize() int

func (Uint256) GetHex

func (u Uint256) GetHex() string

func (Uint256) Pack

func (u Uint256) Pack(writer io.Writer) error

func (*Uint256) SetData

func (u *Uint256) SetData(bytes []byte) error

func (*Uint256) SetHex

func (u *Uint256) SetHex(hexStr string) error

func (*Uint256) UnPack

func (u *Uint256) UnPack(reader io.Reader) error

Jump to

Keyboard shortcuts

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