Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2026 Changes in this version + type Codec interface + Decode func(b []byte, v *T) error + Encode func(v T) ([]byte, error) + type Decoder interface + Decode func(v any) error + type DecoderFunc func(v any) error + func (f DecoderFunc[T]) Decode(v any) error + type Encoder interface + Encode func(v T) error + type EncoderFunc func(v T) error + func (f EncoderFunc[T]) Encode(v T) error + type StreamCodec interface + Decode func(r io.Reader, v *T) error + Encode func(w io.Writer, v T) error + type StreamDecoder interface + Decode func(r io.Reader, v *T) error + type StreamDecoderFunc func(r io.Reader, v *T) error + func (f StreamDecoderFunc[T]) Decode(r io.Reader, v *T) error + type StreamEncoder interface + Encode func(w io.Writer, v T) error + type StreamEncoderFunc func(w io.Writer, v T) error + func (f StreamEncoderFunc[T]) Encode(w io.Writer, v T) error