Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2026 Changes in this version + type Codec struct + func NewCodec[T any]() *Codec[T] + func (Codec[T]) Decode(b []byte, v *T) error + func (Codec[T]) Encode(v T) ([]byte, error) + type StreamCodec struct + func NewStreamCodec[T any]() *StreamCodec[T] + func (StreamCodec[T]) Decode(r io.Reader, v *T) error + func (StreamCodec[T]) Encode(w io.Writer, v T) error