Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ Read
Method
Read
asyncbuffer/buffer_test.go:35–39 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(r *countingReader) Read(p []byte) (n int, err error) {
36
n, err = r.r.Read(p)
37
r.n.Add(int64(n))
38
return
n, err
39
}
40
41
func
(r *countingReader) Close() error {
return
nil }
42
Callers
nothing calls this directly
Calls
2
Add
Method · 0.80
Read
Method · 0.45
Tested by
no test coverage detected