import "github.com/sassoftware/relic/lib/readercounter"
counter.go
Wraps a Reader and counts how many bytes are read from it
type ReaderCounter struct { R io.Reader // underlying Reader N int64 // number of bytes read }
func New(r io.Reader) *ReaderCounter
func (c *ReaderCounter) Read(d []byte) (int, error)