blockchain

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderSizeUint uint32 = 4

Variables

This section is empty.

Functions

This section is empty.

Types

type Byte

type Byte [1]byte

Byte is the primitive type

func ByteDefault

func ByteDefault() Byte

func ByteFromSlice

func ByteFromSlice(slice []byte, _compatible bool) (*Byte, error)

func ByteFromSliceUnchecked

func ByteFromSliceUnchecked(slice []byte) *Byte

func NewByte

func NewByte(b byte) Byte

func (*Byte) AsSlice

func (b *Byte) AsSlice() []byte

type Byte32

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

func Byte32Default

func Byte32Default() Byte32

func Byte32FromSlice

func Byte32FromSlice(slice []byte, _compatible bool) (*Byte32, error)

func Byte32FromSliceUnchecked

func Byte32FromSliceUnchecked(slice []byte) *Byte32

func (*Byte32) AsBuilder

func (s *Byte32) AsBuilder() Byte32Builder

func (*Byte32) AsSlice

func (s *Byte32) AsSlice() []byte

func (*Byte32) Nth0

func (s *Byte32) Nth0() *Byte

func (*Byte32) Nth1

func (s *Byte32) Nth1() *Byte

func (*Byte32) Nth10

func (s *Byte32) Nth10() *Byte

func (*Byte32) Nth11

func (s *Byte32) Nth11() *Byte

func (*Byte32) Nth12

func (s *Byte32) Nth12() *Byte

func (*Byte32) Nth13

func (s *Byte32) Nth13() *Byte

func (*Byte32) Nth14

func (s *Byte32) Nth14() *Byte

func (*Byte32) Nth15

func (s *Byte32) Nth15() *Byte

func (*Byte32) Nth16

func (s *Byte32) Nth16() *Byte

func (*Byte32) Nth17

func (s *Byte32) Nth17() *Byte

func (*Byte32) Nth18

func (s *Byte32) Nth18() *Byte

func (*Byte32) Nth19

func (s *Byte32) Nth19() *Byte

func (*Byte32) Nth2

func (s *Byte32) Nth2() *Byte

func (*Byte32) Nth20

func (s *Byte32) Nth20() *Byte

func (*Byte32) Nth21

func (s *Byte32) Nth21() *Byte

func (*Byte32) Nth22

func (s *Byte32) Nth22() *Byte

func (*Byte32) Nth23

func (s *Byte32) Nth23() *Byte

func (*Byte32) Nth24

func (s *Byte32) Nth24() *Byte

func (*Byte32) Nth25

func (s *Byte32) Nth25() *Byte

func (*Byte32) Nth26

func (s *Byte32) Nth26() *Byte

func (*Byte32) Nth27

func (s *Byte32) Nth27() *Byte

func (*Byte32) Nth28

func (s *Byte32) Nth28() *Byte

func (*Byte32) Nth29

func (s *Byte32) Nth29() *Byte

func (*Byte32) Nth3

func (s *Byte32) Nth3() *Byte

func (*Byte32) Nth30

func (s *Byte32) Nth30() *Byte

func (*Byte32) Nth31

func (s *Byte32) Nth31() *Byte

func (*Byte32) Nth4

func (s *Byte32) Nth4() *Byte

func (*Byte32) Nth5

func (s *Byte32) Nth5() *Byte

func (*Byte32) Nth6

func (s *Byte32) Nth6() *Byte

func (*Byte32) Nth7

func (s *Byte32) Nth7() *Byte

func (*Byte32) Nth8

func (s *Byte32) Nth8() *Byte

func (*Byte32) Nth9

func (s *Byte32) Nth9() *Byte

func (*Byte32) RawData

func (s *Byte32) RawData() []byte

type Byte32Builder

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

func NewByte32Builder

func NewByte32Builder() *Byte32Builder

func (*Byte32Builder) Build

func (s *Byte32Builder) Build() Byte32

func (*Byte32Builder) Nth0

func (s *Byte32Builder) Nth0(v Byte) *Byte32Builder

func (*Byte32Builder) Nth1

func (s *Byte32Builder) Nth1(v Byte) *Byte32Builder

func (*Byte32Builder) Nth10

func (s *Byte32Builder) Nth10(v Byte) *Byte32Builder

func (*Byte32Builder) Nth11

func (s *Byte32Builder) Nth11(v Byte) *Byte32Builder

func (*Byte32Builder) Nth12

func (s *Byte32Builder) Nth12(v Byte) *Byte32Builder

func (*Byte32Builder) Nth13

func (s *Byte32Builder) Nth13(v Byte) *Byte32Builder

func (*Byte32Builder) Nth14

func (s *Byte32Builder) Nth14(v Byte) *Byte32Builder

func (*Byte32Builder) Nth15

func (s *Byte32Builder) Nth15(v Byte) *Byte32Builder

func (*Byte32Builder) Nth16

func (s *Byte32Builder) Nth16(v Byte) *Byte32Builder

func (*Byte32Builder) Nth17

func (s *Byte32Builder) Nth17(v Byte) *Byte32Builder

func (*Byte32Builder) Nth18

func (s *Byte32Builder) Nth18(v Byte) *Byte32Builder

func (*Byte32Builder) Nth19

func (s *Byte32Builder) Nth19(v Byte) *Byte32Builder

func (*Byte32Builder) Nth2

func (s *Byte32Builder) Nth2(v Byte) *Byte32Builder

func (*Byte32Builder) Nth20

func (s *Byte32Builder) Nth20(v Byte) *Byte32Builder

func (*Byte32Builder) Nth21

func (s *Byte32Builder) Nth21(v Byte) *Byte32Builder

func (*Byte32Builder) Nth22

func (s *Byte32Builder) Nth22(v Byte) *Byte32Builder

func (*Byte32Builder) Nth23

func (s *Byte32Builder) Nth23(v Byte) *Byte32Builder

func (*Byte32Builder) Nth24

func (s *Byte32Builder) Nth24(v Byte) *Byte32Builder

func (*Byte32Builder) Nth25

func (s *Byte32Builder) Nth25(v Byte) *Byte32Builder

func (*Byte32Builder) Nth26

func (s *Byte32Builder) Nth26(v Byte) *Byte32Builder

func (*Byte32Builder) Nth27

func (s *Byte32Builder) Nth27(v Byte) *Byte32Builder

func (*Byte32Builder) Nth28

func (s *Byte32Builder) Nth28(v Byte) *Byte32Builder

func (*Byte32Builder) Nth29

func (s *Byte32Builder) Nth29(v Byte) *Byte32Builder

func (*Byte32Builder) Nth3

func (s *Byte32Builder) Nth3(v Byte) *Byte32Builder

func (*Byte32Builder) Nth30

func (s *Byte32Builder) Nth30(v Byte) *Byte32Builder

func (*Byte32Builder) Nth31

func (s *Byte32Builder) Nth31(v Byte) *Byte32Builder

func (*Byte32Builder) Nth4

func (s *Byte32Builder) Nth4(v Byte) *Byte32Builder

func (*Byte32Builder) Nth5

func (s *Byte32Builder) Nth5(v Byte) *Byte32Builder

func (*Byte32Builder) Nth6

func (s *Byte32Builder) Nth6(v Byte) *Byte32Builder

func (*Byte32Builder) Nth7

func (s *Byte32Builder) Nth7(v Byte) *Byte32Builder

func (*Byte32Builder) Nth8

func (s *Byte32Builder) Nth8(v Byte) *Byte32Builder

func (*Byte32Builder) Nth9

func (s *Byte32Builder) Nth9(v Byte) *Byte32Builder

func (*Byte32Builder) Set

func (s *Byte32Builder) Set(v [32]Byte) *Byte32Builder

type Byte32Vec

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

func Byte32VecDefault

func Byte32VecDefault() Byte32Vec

func Byte32VecFromSlice

func Byte32VecFromSlice(slice []byte, _compatible bool) (*Byte32Vec, error)

func Byte32VecFromSliceUnchecked

func Byte32VecFromSliceUnchecked(slice []byte) *Byte32Vec

func (*Byte32Vec) AsBuilder

func (s *Byte32Vec) AsBuilder() Byte32VecBuilder

func (*Byte32Vec) AsSlice

func (s *Byte32Vec) AsSlice() []byte

func (*Byte32Vec) Get

func (s *Byte32Vec) Get(index uint) *Byte32

if *Byte32 is nil, index is out of bounds

func (*Byte32Vec) IsEmpty

func (s *Byte32Vec) IsEmpty() bool

func (*Byte32Vec) ItemCount

func (s *Byte32Vec) ItemCount() uint

func (*Byte32Vec) Len

func (s *Byte32Vec) Len() uint

func (*Byte32Vec) TotalSize

func (s *Byte32Vec) TotalSize() uint

type Byte32VecBuilder

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

func NewByte32VecBuilder

func NewByte32VecBuilder() *Byte32VecBuilder

func (*Byte32VecBuilder) Build

func (s *Byte32VecBuilder) Build() Byte32Vec

func (*Byte32VecBuilder) Extend

func (s *Byte32VecBuilder) Extend(iter []Byte32) *Byte32VecBuilder

func (*Byte32VecBuilder) Push

func (*Byte32VecBuilder) Set

type Bytes

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

func BytesDefault

func BytesDefault() Bytes

func BytesFromSlice

func BytesFromSlice(slice []byte, _compatible bool) (*Bytes, error)

func BytesFromSliceUnchecked

func BytesFromSliceUnchecked(slice []byte) *Bytes

func (*Bytes) AsBuilder

func (s *Bytes) AsBuilder() BytesBuilder

func (*Bytes) AsSlice

func (s *Bytes) AsSlice() []byte

func (*Bytes) Get

func (s *Bytes) Get(index uint) *Byte

if *Byte is nil, index is out of bounds

func (*Bytes) IsEmpty

func (s *Bytes) IsEmpty() bool

func (*Bytes) ItemCount

func (s *Bytes) ItemCount() uint

func (*Bytes) Len

func (s *Bytes) Len() uint

func (*Bytes) RawData

func (s *Bytes) RawData() []byte

func (*Bytes) TotalSize

func (s *Bytes) TotalSize() uint

type BytesBuilder

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

func NewBytesBuilder

func NewBytesBuilder() *BytesBuilder

func (*BytesBuilder) Build

func (s *BytesBuilder) Build() Bytes

func (*BytesBuilder) Extend

func (s *BytesBuilder) Extend(iter []Byte) *BytesBuilder

func (*BytesBuilder) Push

func (s *BytesBuilder) Push(v Byte) *BytesBuilder

func (*BytesBuilder) Set

func (s *BytesBuilder) Set(v []Byte) *BytesBuilder

type BytesOpt

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

func BytesOptDefault

func BytesOptDefault() BytesOpt

func BytesOptFromSlice

func BytesOptFromSlice(slice []byte, compatible bool) (*BytesOpt, error)

func BytesOptFromSliceUnchecked

func BytesOptFromSliceUnchecked(slice []byte) *BytesOpt

func (*BytesOpt) AsBuilder

func (s *BytesOpt) AsBuilder() BytesOptBuilder

func (*BytesOpt) AsSlice

func (s *BytesOpt) AsSlice() []byte

func (*BytesOpt) IntoBytes

func (s *BytesOpt) IntoBytes() (*Bytes, error)

func (*BytesOpt) IsNone

func (s *BytesOpt) IsNone() bool

func (*BytesOpt) IsSome

func (s *BytesOpt) IsSome() bool

type BytesOptBuilder

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

func NewBytesOptBuilder

func NewBytesOptBuilder() *BytesOptBuilder

func (*BytesOptBuilder) Build

func (s *BytesOptBuilder) Build() BytesOpt

func (*BytesOptBuilder) Set

type BytesVec

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

func BytesVecDefault

func BytesVecDefault() BytesVec

func BytesVecFromSlice

func BytesVecFromSlice(slice []byte, compatible bool) (*BytesVec, error)

func BytesVecFromSliceUnchecked

func BytesVecFromSliceUnchecked(slice []byte) *BytesVec

func (*BytesVec) AsBuilder

func (s *BytesVec) AsBuilder() BytesVecBuilder

func (*BytesVec) AsSlice

func (s *BytesVec) AsSlice() []byte

func (*BytesVec) Get

func (s *BytesVec) Get(index uint) *Bytes

if *Bytes is nil, index is out of bounds

func (*BytesVec) IsEmpty

func (s *BytesVec) IsEmpty() bool

func (*BytesVec) ItemCount

func (s *BytesVec) ItemCount() uint

func (*BytesVec) Len

func (s *BytesVec) Len() uint

func (*BytesVec) TotalSize

func (s *BytesVec) TotalSize() uint

type BytesVecBuilder

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

func NewBytesVecBuilder

func NewBytesVecBuilder() *BytesVecBuilder

func (*BytesVecBuilder) Build

func (s *BytesVecBuilder) Build() BytesVec

func (*BytesVecBuilder) Extend

func (s *BytesVecBuilder) Extend(iter []Bytes) *BytesVecBuilder

func (*BytesVecBuilder) Push

func (*BytesVecBuilder) Set

func (s *BytesVecBuilder) Set(v []Bytes) *BytesVecBuilder

type Number

type Number uint32

type Script

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

func ScriptDefault

func ScriptDefault() Script

func ScriptFromSlice

func ScriptFromSlice(slice []byte, compatible bool) (*Script, error)

func ScriptFromSliceUnchecked

func ScriptFromSliceUnchecked(slice []byte) *Script

func (*Script) Args

func (s *Script) Args() *Bytes

func (*Script) AsBuilder

func (s *Script) AsBuilder() ScriptBuilder

func (*Script) AsSlice

func (s *Script) AsSlice() []byte

func (*Script) CodeHash

func (s *Script) CodeHash() *Byte32

func (*Script) CountExtraFields

func (s *Script) CountExtraFields() uint

func (*Script) FieldCount

func (s *Script) FieldCount() uint

func (*Script) HasExtraFields

func (s *Script) HasExtraFields() bool

func (*Script) HashType

func (s *Script) HashType() *Byte

func (*Script) IsEmpty

func (s *Script) IsEmpty() bool

func (*Script) Len

func (s *Script) Len() uint

func (*Script) TotalSize

func (s *Script) TotalSize() uint

type ScriptBuilder

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

func NewScriptBuilder

func NewScriptBuilder() *ScriptBuilder

func (*ScriptBuilder) Args

func (s *ScriptBuilder) Args(v Bytes) *ScriptBuilder

func (*ScriptBuilder) Build

func (s *ScriptBuilder) Build() Script

func (*ScriptBuilder) CodeHash

func (s *ScriptBuilder) CodeHash(v Byte32) *ScriptBuilder

func (*ScriptBuilder) HashType

func (s *ScriptBuilder) HashType(v Byte) *ScriptBuilder

type Uint128

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

func Uint128Default

func Uint128Default() Uint128

func Uint128FromSlice

func Uint128FromSlice(slice []byte, _compatible bool) (*Uint128, error)

func Uint128FromSliceUnchecked

func Uint128FromSliceUnchecked(slice []byte) *Uint128

func (*Uint128) AsBuilder

func (s *Uint128) AsBuilder() Uint128Builder

func (*Uint128) AsSlice

func (s *Uint128) AsSlice() []byte

func (*Uint128) Nth0

func (s *Uint128) Nth0() *Byte

func (*Uint128) Nth1

func (s *Uint128) Nth1() *Byte

func (*Uint128) Nth10

func (s *Uint128) Nth10() *Byte

func (*Uint128) Nth11

func (s *Uint128) Nth11() *Byte

func (*Uint128) Nth12

func (s *Uint128) Nth12() *Byte

func (*Uint128) Nth13

func (s *Uint128) Nth13() *Byte

func (*Uint128) Nth14

func (s *Uint128) Nth14() *Byte

func (*Uint128) Nth15

func (s *Uint128) Nth15() *Byte

func (*Uint128) Nth2

func (s *Uint128) Nth2() *Byte

func (*Uint128) Nth3

func (s *Uint128) Nth3() *Byte

func (*Uint128) Nth4

func (s *Uint128) Nth4() *Byte

func (*Uint128) Nth5

func (s *Uint128) Nth5() *Byte

func (*Uint128) Nth6

func (s *Uint128) Nth6() *Byte

func (*Uint128) Nth7

func (s *Uint128) Nth7() *Byte

func (*Uint128) Nth8

func (s *Uint128) Nth8() *Byte

func (*Uint128) Nth9

func (s *Uint128) Nth9() *Byte

func (*Uint128) RawData

func (s *Uint128) RawData() []byte

type Uint128Builder

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

func NewUint128Builder

func NewUint128Builder() *Uint128Builder

func (*Uint128Builder) Build

func (s *Uint128Builder) Build() Uint128

func (*Uint128Builder) Nth0

func (s *Uint128Builder) Nth0(v Byte) *Uint128Builder

func (*Uint128Builder) Nth1

func (s *Uint128Builder) Nth1(v Byte) *Uint128Builder

func (*Uint128Builder) Nth10

func (s *Uint128Builder) Nth10(v Byte) *Uint128Builder

func (*Uint128Builder) Nth11

func (s *Uint128Builder) Nth11(v Byte) *Uint128Builder

func (*Uint128Builder) Nth12

func (s *Uint128Builder) Nth12(v Byte) *Uint128Builder

func (*Uint128Builder) Nth13

func (s *Uint128Builder) Nth13(v Byte) *Uint128Builder

func (*Uint128Builder) Nth14

func (s *Uint128Builder) Nth14(v Byte) *Uint128Builder

func (*Uint128Builder) Nth15

func (s *Uint128Builder) Nth15(v Byte) *Uint128Builder

func (*Uint128Builder) Nth2

func (s *Uint128Builder) Nth2(v Byte) *Uint128Builder

func (*Uint128Builder) Nth3

func (s *Uint128Builder) Nth3(v Byte) *Uint128Builder

func (*Uint128Builder) Nth4

func (s *Uint128Builder) Nth4(v Byte) *Uint128Builder

func (*Uint128Builder) Nth5

func (s *Uint128Builder) Nth5(v Byte) *Uint128Builder

func (*Uint128Builder) Nth6

func (s *Uint128Builder) Nth6(v Byte) *Uint128Builder

func (*Uint128Builder) Nth7

func (s *Uint128Builder) Nth7(v Byte) *Uint128Builder

func (*Uint128Builder) Nth8

func (s *Uint128Builder) Nth8(v Byte) *Uint128Builder

func (*Uint128Builder) Nth9

func (s *Uint128Builder) Nth9(v Byte) *Uint128Builder

func (*Uint128Builder) Set

func (s *Uint128Builder) Set(v [16]Byte) *Uint128Builder

type Uint256

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

func Uint256Default

func Uint256Default() Uint256

func Uint256FromSlice

func Uint256FromSlice(slice []byte, _compatible bool) (*Uint256, error)

func Uint256FromSliceUnchecked

func Uint256FromSliceUnchecked(slice []byte) *Uint256

func (*Uint256) AsBuilder

func (s *Uint256) AsBuilder() Uint256Builder

func (*Uint256) AsSlice

func (s *Uint256) AsSlice() []byte

func (*Uint256) Nth0

func (s *Uint256) Nth0() *Byte

func (*Uint256) Nth1

func (s *Uint256) Nth1() *Byte

func (*Uint256) Nth10

func (s *Uint256) Nth10() *Byte

func (*Uint256) Nth11

func (s *Uint256) Nth11() *Byte

func (*Uint256) Nth12

func (s *Uint256) Nth12() *Byte

func (*Uint256) Nth13

func (s *Uint256) Nth13() *Byte

func (*Uint256) Nth14

func (s *Uint256) Nth14() *Byte

func (*Uint256) Nth15

func (s *Uint256) Nth15() *Byte

func (*Uint256) Nth16

func (s *Uint256) Nth16() *Byte

func (*Uint256) Nth17

func (s *Uint256) Nth17() *Byte

func (*Uint256) Nth18

func (s *Uint256) Nth18() *Byte

func (*Uint256) Nth19

func (s *Uint256) Nth19() *Byte

func (*Uint256) Nth2

func (s *Uint256) Nth2() *Byte

func (*Uint256) Nth20

func (s *Uint256) Nth20() *Byte

func (*Uint256) Nth21

func (s *Uint256) Nth21() *Byte

func (*Uint256) Nth22

func (s *Uint256) Nth22() *Byte

func (*Uint256) Nth23

func (s *Uint256) Nth23() *Byte

func (*Uint256) Nth24

func (s *Uint256) Nth24() *Byte

func (*Uint256) Nth25

func (s *Uint256) Nth25() *Byte

func (*Uint256) Nth26

func (s *Uint256) Nth26() *Byte

func (*Uint256) Nth27

func (s *Uint256) Nth27() *Byte

func (*Uint256) Nth28

func (s *Uint256) Nth28() *Byte

func (*Uint256) Nth29

func (s *Uint256) Nth29() *Byte

func (*Uint256) Nth3

func (s *Uint256) Nth3() *Byte

func (*Uint256) Nth30

func (s *Uint256) Nth30() *Byte

func (*Uint256) Nth31

func (s *Uint256) Nth31() *Byte

func (*Uint256) Nth4

func (s *Uint256) Nth4() *Byte

func (*Uint256) Nth5

func (s *Uint256) Nth5() *Byte

func (*Uint256) Nth6

func (s *Uint256) Nth6() *Byte

func (*Uint256) Nth7

func (s *Uint256) Nth7() *Byte

func (*Uint256) Nth8

func (s *Uint256) Nth8() *Byte

func (*Uint256) Nth9

func (s *Uint256) Nth9() *Byte

func (*Uint256) RawData

func (s *Uint256) RawData() []byte

type Uint256Builder

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

func NewUint256Builder

func NewUint256Builder() *Uint256Builder

func (*Uint256Builder) Build

func (s *Uint256Builder) Build() Uint256

func (*Uint256Builder) Nth0

func (s *Uint256Builder) Nth0(v Byte) *Uint256Builder

func (*Uint256Builder) Nth1

func (s *Uint256Builder) Nth1(v Byte) *Uint256Builder

func (*Uint256Builder) Nth10

func (s *Uint256Builder) Nth10(v Byte) *Uint256Builder

func (*Uint256Builder) Nth11

func (s *Uint256Builder) Nth11(v Byte) *Uint256Builder

func (*Uint256Builder) Nth12

func (s *Uint256Builder) Nth12(v Byte) *Uint256Builder

func (*Uint256Builder) Nth13

func (s *Uint256Builder) Nth13(v Byte) *Uint256Builder

func (*Uint256Builder) Nth14

func (s *Uint256Builder) Nth14(v Byte) *Uint256Builder

func (*Uint256Builder) Nth15

func (s *Uint256Builder) Nth15(v Byte) *Uint256Builder

func (*Uint256Builder) Nth16

func (s *Uint256Builder) Nth16(v Byte) *Uint256Builder

func (*Uint256Builder) Nth17

func (s *Uint256Builder) Nth17(v Byte) *Uint256Builder

func (*Uint256Builder) Nth18

func (s *Uint256Builder) Nth18(v Byte) *Uint256Builder

func (*Uint256Builder) Nth19

func (s *Uint256Builder) Nth19(v Byte) *Uint256Builder

func (*Uint256Builder) Nth2

func (s *Uint256Builder) Nth2(v Byte) *Uint256Builder

func (*Uint256Builder) Nth20

func (s *Uint256Builder) Nth20(v Byte) *Uint256Builder

func (*Uint256Builder) Nth21

func (s *Uint256Builder) Nth21(v Byte) *Uint256Builder

func (*Uint256Builder) Nth22

func (s *Uint256Builder) Nth22(v Byte) *Uint256Builder

func (*Uint256Builder) Nth23

func (s *Uint256Builder) Nth23(v Byte) *Uint256Builder

func (*Uint256Builder) Nth24

func (s *Uint256Builder) Nth24(v Byte) *Uint256Builder

func (*Uint256Builder) Nth25

func (s *Uint256Builder) Nth25(v Byte) *Uint256Builder

func (*Uint256Builder) Nth26

func (s *Uint256Builder) Nth26(v Byte) *Uint256Builder

func (*Uint256Builder) Nth27

func (s *Uint256Builder) Nth27(v Byte) *Uint256Builder

func (*Uint256Builder) Nth28

func (s *Uint256Builder) Nth28(v Byte) *Uint256Builder

func (*Uint256Builder) Nth29

func (s *Uint256Builder) Nth29(v Byte) *Uint256Builder

func (*Uint256Builder) Nth3

func (s *Uint256Builder) Nth3(v Byte) *Uint256Builder

func (*Uint256Builder) Nth30

func (s *Uint256Builder) Nth30(v Byte) *Uint256Builder

func (*Uint256Builder) Nth31

func (s *Uint256Builder) Nth31(v Byte) *Uint256Builder

func (*Uint256Builder) Nth4

func (s *Uint256Builder) Nth4(v Byte) *Uint256Builder

func (*Uint256Builder) Nth5

func (s *Uint256Builder) Nth5(v Byte) *Uint256Builder

func (*Uint256Builder) Nth6

func (s *Uint256Builder) Nth6(v Byte) *Uint256Builder

func (*Uint256Builder) Nth7

func (s *Uint256Builder) Nth7(v Byte) *Uint256Builder

func (*Uint256Builder) Nth8

func (s *Uint256Builder) Nth8(v Byte) *Uint256Builder

func (*Uint256Builder) Nth9

func (s *Uint256Builder) Nth9(v Byte) *Uint256Builder

func (*Uint256Builder) Set

func (s *Uint256Builder) Set(v [32]Byte) *Uint256Builder

type Uint32

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

func Uint32Default

func Uint32Default() Uint32

func Uint32FromSlice

func Uint32FromSlice(slice []byte, _compatible bool) (*Uint32, error)

func Uint32FromSliceUnchecked

func Uint32FromSliceUnchecked(slice []byte) *Uint32

func (*Uint32) AsBuilder

func (s *Uint32) AsBuilder() Uint32Builder

func (*Uint32) AsSlice

func (s *Uint32) AsSlice() []byte

func (*Uint32) Nth0

func (s *Uint32) Nth0() *Byte

func (*Uint32) Nth1

func (s *Uint32) Nth1() *Byte

func (*Uint32) Nth2

func (s *Uint32) Nth2() *Byte

func (*Uint32) Nth3

func (s *Uint32) Nth3() *Byte

func (*Uint32) RawData

func (s *Uint32) RawData() []byte

type Uint32Builder

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

func NewUint32Builder

func NewUint32Builder() *Uint32Builder

func (*Uint32Builder) Build

func (s *Uint32Builder) Build() Uint32

func (*Uint32Builder) Nth0

func (s *Uint32Builder) Nth0(v Byte) *Uint32Builder

func (*Uint32Builder) Nth1

func (s *Uint32Builder) Nth1(v Byte) *Uint32Builder

func (*Uint32Builder) Nth2

func (s *Uint32Builder) Nth2(v Byte) *Uint32Builder

func (*Uint32Builder) Nth3

func (s *Uint32Builder) Nth3(v Byte) *Uint32Builder

func (*Uint32Builder) Set

func (s *Uint32Builder) Set(v [4]Byte) *Uint32Builder

type Uint64

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

func Uint64Default

func Uint64Default() Uint64

func Uint64FromSlice

func Uint64FromSlice(slice []byte, _compatible bool) (*Uint64, error)

func Uint64FromSliceUnchecked

func Uint64FromSliceUnchecked(slice []byte) *Uint64

func (*Uint64) AsBuilder

func (s *Uint64) AsBuilder() Uint64Builder

func (*Uint64) AsSlice

func (s *Uint64) AsSlice() []byte

func (*Uint64) Nth0

func (s *Uint64) Nth0() *Byte

func (*Uint64) Nth1

func (s *Uint64) Nth1() *Byte

func (*Uint64) Nth2

func (s *Uint64) Nth2() *Byte

func (*Uint64) Nth3

func (s *Uint64) Nth3() *Byte

func (*Uint64) Nth4

func (s *Uint64) Nth4() *Byte

func (*Uint64) Nth5

func (s *Uint64) Nth5() *Byte

func (*Uint64) Nth6

func (s *Uint64) Nth6() *Byte

func (*Uint64) Nth7

func (s *Uint64) Nth7() *Byte

func (*Uint64) RawData

func (s *Uint64) RawData() []byte

type Uint64Builder

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

func NewUint64Builder

func NewUint64Builder() *Uint64Builder

func (*Uint64Builder) Build

func (s *Uint64Builder) Build() Uint64

func (*Uint64Builder) Nth0

func (s *Uint64Builder) Nth0(v Byte) *Uint64Builder

func (*Uint64Builder) Nth1

func (s *Uint64Builder) Nth1(v Byte) *Uint64Builder

func (*Uint64Builder) Nth2

func (s *Uint64Builder) Nth2(v Byte) *Uint64Builder

func (*Uint64Builder) Nth3

func (s *Uint64Builder) Nth3(v Byte) *Uint64Builder

func (*Uint64Builder) Nth4

func (s *Uint64Builder) Nth4(v Byte) *Uint64Builder

func (*Uint64Builder) Nth5

func (s *Uint64Builder) Nth5(v Byte) *Uint64Builder

func (*Uint64Builder) Nth6

func (s *Uint64Builder) Nth6(v Byte) *Uint64Builder

func (*Uint64Builder) Nth7

func (s *Uint64Builder) Nth7(v Byte) *Uint64Builder

func (*Uint64Builder) Set

func (s *Uint64Builder) Set(v [8]Byte) *Uint64Builder

type WitnessArgs

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

func WitnessArgsDefault

func WitnessArgsDefault() WitnessArgs

func WitnessArgsFromSlice

func WitnessArgsFromSlice(slice []byte, compatible bool) (*WitnessArgs, error)

func WitnessArgsFromSliceUnchecked

func WitnessArgsFromSliceUnchecked(slice []byte) *WitnessArgs

func (*WitnessArgs) AsBuilder

func (s *WitnessArgs) AsBuilder() WitnessArgsBuilder

func (*WitnessArgs) AsSlice

func (s *WitnessArgs) AsSlice() []byte

func (*WitnessArgs) CountExtraFields

func (s *WitnessArgs) CountExtraFields() uint

func (*WitnessArgs) FieldCount

func (s *WitnessArgs) FieldCount() uint

func (*WitnessArgs) HasExtraFields

func (s *WitnessArgs) HasExtraFields() bool

func (*WitnessArgs) InputType

func (s *WitnessArgs) InputType() *BytesOpt

func (*WitnessArgs) IsEmpty

func (s *WitnessArgs) IsEmpty() bool

func (*WitnessArgs) Len

func (s *WitnessArgs) Len() uint

func (*WitnessArgs) Lock

func (s *WitnessArgs) Lock() *BytesOpt

func (*WitnessArgs) OutputType

func (s *WitnessArgs) OutputType() *BytesOpt

func (*WitnessArgs) TotalSize

func (s *WitnessArgs) TotalSize() uint

type WitnessArgsBuilder

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

func NewWitnessArgsBuilder

func NewWitnessArgsBuilder() *WitnessArgsBuilder

func (*WitnessArgsBuilder) Build

func (s *WitnessArgsBuilder) Build() WitnessArgs

func (*WitnessArgsBuilder) InputType

func (*WitnessArgsBuilder) Lock

func (*WitnessArgsBuilder) OutputType

Jump to

Keyboard shortcuts

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