package
Version:
v0.8.4
Opens a new window with list of versions in this module.
Published: Sep 18, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Codec interface {
Skip(int)
RegisterType(interface{}) error
Marshal(interface{}) ([]byte, error)
Unmarshal([]byte, interface{}) error
}
Codec marshals and unmarshals
func New(maxSize, maxSliceLen int) Codec
New returns a new, concurrency-safe codec
NewDefault returns a new codec with reasonable default values
Source Files
¶
Click to show internal directories.
Click to hide internal directories.