zgob

package module
v0.0.0-...-b02d783 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

zgob is a tiny utility library for saving and loading gobs with zlib compression

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(v interface{}, filename string) (bytesRead int64, err error)

Load takes a pointer v and attempts to decompress and decode data from filename.

func RegisterTypes

func RegisterTypes(types ...interface{})

RegisterTypes ...

func Save

func Save(v interface{}, filename string) error

Save encodes v and compresses it with zlib. Compressed data is written to filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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