encoder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v any) ([]byte, error)

Marshal returns encoding of param v

func RegisterType

func RegisterType(rType reflect.Type) error

func TestSymmetry

func TestSymmetry(t *testing.T, value any)

TestSymmetry checks if a type can be marshaled and unmarshalled with no issues

func Unmarshal

func Unmarshal(b []byte, v any) error

Unmarshal decodes param v from []byte b

Types

This section is empty.

Jump to

Keyboard shortcuts

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