package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jan 5, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrSerializeNilValue = errors.New("cannot serialize nil value")
ErrDeserializeEmptyData = errors.New("cannot deserialize empty data")
ErrDeserializeResultNil = errors.New("result interface cannot be nil")
)
func Deserialize(data []byte, resultPtr interface{}) error
Deserialize converts []byte to a value using Gob decoding.
func Serialize(value interface{}) ([]byte, error)
Serialize converts a value to []byte using Gob encoding.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.