gob

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFromFile

func DecodeFromFile(name string) (dec *std_gob.Decoder, err error)

DecodeFromFile returns a Decoder, instead of an interface{} whose type can be asserted, because Decode relies on the destination type information.

func EncodeToFile

func EncodeToFile(name string, value interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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