MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / newCountingReader

Function newCountingReader

asyncbuffer/buffer_test.go:31–33  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

29}
30
31func newCountingReader(r io.Reader) *countingReader {
32 return &countingReader{r: r}
33}
34
35func (r *countingReader) Read(p []byte) (n int, err error) {
36 n, err = r.r.Read(p)

Callers 2

generateSourceDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected