Versions in this module Expand all Collapse all v1 v1.0.2 Dec 22, 2020 v1.0.1 Dec 22, 2020 Changes in this version + type Dropper interface + Drop func(err error) + type ErrCorrupted struct + Reason string + Size int + func (e *ErrCorrupted) Error() string + type Reader struct + func NewReader(r io.Reader, dropper Dropper, strict, checksum bool) *Reader + func (r *Reader) Next() (io.Reader, error) + func (r *Reader) Reset(reader io.Reader, dropper Dropper, strict, checksum bool) error + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Close() error + func (w *Writer) Flush() error + func (w *Writer) Next() (io.Writer, error) + func (w *Writer) Reset(writer io.Writer) (err error)