Versions in this module Expand all Collapse all v0 v0.1.0 Aug 30, 2026 Changes in this version + const DefaultBufferSize + func MarshalStream(ctx context.Context, w io.Writer, v any) error + type Marshaler struct + func NewMarshaler(opts ...MarshalerOption) *Marshaler + func (m *Marshaler) MarshalStream(ctx context.Context, w io.Writer, v any) error + type MarshalerOption func(*Marshaler) + func WithMarshalerBufferSize(n int) MarshalerOption + type StreamReader struct + func NewStreamReader(r io.Reader) (*StreamReader, error) + func (sr *StreamReader) Close() error + func (sr *StreamReader) Decode(v any) error + func (sr *StreamReader) Err() error + func (sr *StreamReader) Index() int + func (sr *StreamReader) Next() bool + type StreamWriter struct + func NewStreamWriter(w io.Writer, opts ...WriterOption) (*StreamWriter, error) + func (sw *StreamWriter) Abort(marker string) error + func (sw *StreamWriter) Count() int + func (sw *StreamWriter) Flush() error + func (sw *StreamWriter) SetRow(v any) error + type WriterOption func(*writerConfig) + func WithBufferSize(n int) WriterOption + func WithFields(names ...string) WriterOption