gob

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT 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