Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SSZDimension ¶
type SSZDimension struct { VectorLength *int ListLength *int // contains filtered or unexported fields }
func (*SSZDimension) IsBitlist ¶
func (dim *SSZDimension) IsBitlist() bool
func (*SSZDimension) IsList ¶
func (dim *SSZDimension) IsList() bool
func (*SSZDimension) IsVector ¶
func (dim *SSZDimension) IsVector() bool
func (*SSZDimension) ListLen ¶
func (dim *SSZDimension) ListLen() int
func (*SSZDimension) ValueLen ¶
func (dim *SSZDimension) ValueLen() uint64
ValueType returns ssz-max or ssz-size, to be used in the construction of a fastssz Value type
func (*SSZDimension) ValueType ¶
func (dim *SSZDimension) ValueType() Type
ValueType returns a Type enum to be used in the construction of a fastssz Value type
func (*SSZDimension) VectorLen ¶
func (dim *SSZDimension) VectorLen() int
type Type ¶
type Type int
Type is a SSZ type
const ( // TypeUndefined is a sentinel zero value to make initialization problems detectable TypeUndefined Type = iota // TypeUint is a SSZ int type TypeUint // TypeBool is a SSZ bool type TypeBool // TypeBytes is a SSZ fixed or dynamic bytes type TypeBytes // TypeBitList is a SSZ bitlist TypeBitList // TypeVector is a SSZ vector TypeVector // TypeList is a SSZ list TypeList // TypeContainer is a SSZ container TypeContainer // TypeReference is a SSZ reference TypeReference // TypeTime is a timestamp TypeTime )
Click to show internal directories.
Click to hide internal directories.