package
Version:
v0.0.0-...-50414e9
Opens a new window with list of versions in this module.
Published: Apr 29, 2025
License: MIT
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
¶
Codec is an interface for encoding and decoding values.
CodecFor returns the codec for the given type.
type Decoder[T any] interface {
Decode(bz []byte) (T, error)
}
Decoder is an interface for decoding values.
type Encoder[T any] interface {
Encode(v T) ([]byte, error)
}
Encoder is an interface for encoding values.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.