MCPcopy Create free account
hub / github.com/felixge/httpsnoop / ReadFrom

Method ReadFrom

wrap_generated.go:1676–1678  ·  view source on GitHub ↗
(src io.Reader)

Source from the content-addressed store, hash-verified

1674 return (*rwState)(w).doWrite(b)
1675}
1676func (w *rw16) ReadFrom(src io.Reader) (int64, error) {
1677 return (*rwState)(w).doReadFrom(src)
1678}
1679
1680// combination 18/512: http.ResponseWriter, io.ReaderFrom, io.StringWriter
1681type rw17 rwState

Callers 3

WrapFunction · 0.45
doReadFromMethod · 0.45
TestCaptureMetricsFunction · 0.45

Calls 1

doReadFromMethod · 0.80

Tested by 1

TestCaptureMetricsFunction · 0.36