package
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jul 15, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
bin
Binary un/serializer.
Documentation
¶
func Register(v interface{})
Register is registering a new data structure.
func Serialize(v interface{}) ([]byte, error)
Serialize is encoding an object into bytes binary format.
func Unserialize(data []byte, v interface{}) error
Unserialize is decoding bytes into object.
type Serializer interface {
Serialize([]byte, error)
}
Serializer interface.
type Unserializer interface {
Unserialize(interface{}) error
}
Unserializer interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.