package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Dec 19, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(obj interface{}) ([]byte, error)
ToBinary serialize the object to a byte slice using go-wire
obj: the object to serialize
Source Files
¶
Click to show internal directories.
Click to hide internal directories.