gob

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GobDecode

func GobDecode(data []byte, val interface{}) error

解码: data 为 gob 编码; val 为指针,接收解码后的 数据结构

func GobEncode

func GobEncode(val interface{}) ([]byte, error)

编码: 编码后为 byte 切片

Types

This section is empty.

Jump to

Keyboard shortcuts

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