testcases

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 663bf5f44a061a5323c14ee77b0fdaa2eac9c717999dc83d0a3cbd1453853ab7

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

type Case1A

type Case1A struct {
	Foo Bytes `ssz-max:"2048"`
}

func (*Case1A) GetTree

func (c *Case1A) GetTree() (*ssz.Node, error)

GetTree ssz hashes the Case1A object

func (*Case1A) HashTreeRoot

func (c *Case1A) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Case1A object

func (*Case1A) HashTreeRootWith

func (c *Case1A) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the Case1A object with a hasher

func (*Case1A) MarshalSSZ

func (c *Case1A) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Case1A object

func (*Case1A) MarshalSSZTo

func (c *Case1A) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Case1A object to a target array

func (*Case1A) SizeSSZ

func (c *Case1A) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Case1A object

func (*Case1A) UnmarshalSSZ

func (c *Case1A) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Case1A object

type Case1B

type Case1B struct {
	Bar Bytes `ssz-max:"32"`
}

func (*Case1B) GetTree

func (c *Case1B) GetTree() (*ssz.Node, error)

GetTree ssz hashes the Case1B object

func (*Case1B) HashTreeRoot

func (c *Case1B) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Case1B object

func (*Case1B) HashTreeRootWith

func (c *Case1B) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the Case1B object with a hasher

func (*Case1B) MarshalSSZ

func (c *Case1B) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Case1B object

func (*Case1B) MarshalSSZTo

func (c *Case1B) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Case1B object to a target array

func (*Case1B) SizeSSZ

func (c *Case1B) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Case1B object

func (*Case1B) UnmarshalSSZ

func (c *Case1B) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Case1B object

Jump to

Keyboard shortcuts

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