Versions in this module Expand all Collapse all v0 v0.0.1 May 5, 2024 Changes in this version + func IoCopy(dst io.Writer, src io.Reader, fn ...func(count int)) (written int64, isSrcErr bool, err error) + type Reader struct + func NewReader(r io.Reader) *Reader + func NewReaderWithContext(r io.Reader, ctx context.Context) *Reader + func (s *Reader) Read(p []byte) (int, error) + func (s *Reader) SetRateLimit(bytesPerSec float64) + type Writer struct + func NewWriter(w io.Writer) *Writer + func NewWriterWithContext(w io.Writer, ctx context.Context) *Writer + func (s *Writer) SetRateLimit(bytesPerSec float64) + func (s *Writer) Write(p []byte) (int, error)