encoderv2

package
v1.3.8-rc Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V2

type V2 struct {
}

V2 encoder

func New

func New() *V2

New return v2 struct

func (*V2) Decode

func (l *V2) Decode(data []byte, v interface{}) error

Decode to ssz format

func (*V2) Encode

func (l *V2) Encode(obj interface{}) ([]byte, error)

Encode to ssz format

Jump to

Keyboard shortcuts

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