Documentation
¶
Index ¶
- type ReflectionCtx
- func (ctx *ReflectionCtx) HashTreeRoot(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, ...) error
- func (ctx *ReflectionCtx) MarshalSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, ...) error
- func (ctx *ReflectionCtx) SizeSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value) (uint32, error)
- func (ctx *ReflectionCtx) UnmarshalSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReflectionCtx ¶
type ReflectionCtx struct {
// contains filtered or unexported fields
}
func NewReflectionCtx ¶
func NewReflectionCtx(ds sszutils.DynamicSpecs, logCb func(format string, args ...any), verbose bool, noFastSsz bool) *ReflectionCtx
func (*ReflectionCtx) HashTreeRoot ¶
func (ctx *ReflectionCtx) HashTreeRoot(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, hh sszutils.HashWalker) error
func (*ReflectionCtx) MarshalSSZ ¶
func (ctx *ReflectionCtx) MarshalSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, encoder sszutils.Encoder) error
func (*ReflectionCtx) SizeSSZ ¶
func (ctx *ReflectionCtx) SizeSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value) (uint32, error)
func (*ReflectionCtx) UnmarshalSSZ ¶
func (ctx *ReflectionCtx) UnmarshalSSZ(targetType *ssztypes.TypeDescriptor, targetValue reflect.Value, decoder sszutils.Decoder) error
Click to show internal directories.
Click to hide internal directories.