Discover Packages
github.com/redbo/hummingbird
common
pickle
package
Version:
v0.0.0-...-2f3b49c
Opens a new window with list of versions in this module.
Published: Apr 23, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func PickleDumps(o interface{}) []byte
func PickleLoads(data []byte ) (interface{}, error )
func Unmarshal(data []byte , v interface{}) error
Unmarshal parses the pickled data and stores the result in the value pointed to by v.
Unmarshal is considerably less performant than PickleLoads, so think twice before using it in performance-sensitive code.
type PickleArray struct {
Type string
Data []interface{}
}
type PickleTuple struct {
Len int
A interface{}
B interface{}
C interface{}
D interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.