serial

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(val any, hashPtrAddr bool) []byte

Dump any value to bytes(include private field)

func Load

func Load(data []byte, v any) error

func String

func String(val any, hashPtrAddr bool) string

Dump any value to string(include private field)

func Tmpload

func Tmpload(b []byte) error

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

type PtrSeen

type PtrSeen map[uintptr]struct{}

func (PtrSeen) Add

func (ps PtrSeen) Add(rv reflect.Value) bool

Jump to

Keyboard shortcuts

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