wire

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBinary

func FromBinary(data []byte, ptr interface{}) error

FromBinary deserialize the object from a byte slice using go-wire ptr: a pointer to the object to be filled (filled with data)

func ToBinary

func ToBinary(obj interface{}) ([]byte, error)

ToBinary serialize the object to a byte slice using go-wire obj: the object to serialize

Types

This section is empty.

Jump to

Keyboard shortcuts

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