Versions in this module Expand all Collapse all v0 v0.0.2 Jan 21, 2022 v0.0.1 Jan 21, 2022 Changes in this version + type RegretableReader struct + func NewRegretableReader(r io.Reader) *RegretableReader + func NewRegretableReaderSize(r io.Reader, size int) *RegretableReader + func (rb *RegretableReader) Forget() + func (rb *RegretableReader) Read(p []byte) (n int, err error) + func (rb *RegretableReader) Regret() + type RegretableReaderCloser struct + func NewRegretableReaderCloser(rc io.ReadCloser) *RegretableReaderCloser + func NewRegretableReaderCloserSize(rc io.ReadCloser, size int) *RegretableReaderCloser + func (rbc *RegretableReaderCloser) Close() error