reflection

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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