codec

package
v0.0.0-...-16c3cf3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(b []byte, v interface{}) error

Decode the byte slice to a value. It uses the faster msgp.Unmarshaler if implemented.

func Encode

func Encode(v interface{}) ([]byte, error)

Encode the value to a msgpack byte slice. It uses the faster msgp.Marshaler if implemented.

Types

This section is empty.

Jump to

Keyboard shortcuts

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