Versions in this module Expand all Collapse all v1 v1.1.1 Oct 13, 2016 Changes in this version + type CountReader struct + func NewCountReader(r io.Reader, p *atomic2.Int64) *CountReader + func (r *CountReader) Count() int64 + func (r *CountReader) Read(p []byte) (int, error) + func (r *CountReader) ResetCounter() int64 + type CountWriter struct + func NewCountWriter(w io.Writer, p *atomic2.Int64) *CountWriter + func (w *CountWriter) Count() int64 + func (w *CountWriter) ResetCounter() int64 + func (w *CountWriter) Write(p []byte) (int, error)