Versions in this module Expand all Collapse all v0 v0.0.2 Sep 21, 2026 v0.0.1 Sep 21, 2026 Changes in this version + var ErrTokenTooLong = errors.New("reader: token too long") + func Scan(r io.Reader, cb CB, opts ...Option) error + type CB func([]byte) error + type Option func(*Scanner) + func WithMaxBufSize(size int) Option + func WithStartBufSize(size int) Option + type Scanner struct + MaxBufSize int + StartBufSize int + func New(opts ...Option) *Scanner + func (s *Scanner) Iter(r io.Reader) iter.Seq[[]byte] + func (s *Scanner) IterErr() error + func (s *Scanner) Scan(r io.Reader, cb CB) error