MCPcopy
hub / github.com/tinylib/msgp / Read

Method Read

msgp/read.go:168–170  ·  view source on GitHub ↗

Read implements `io.Reader`

(p []byte)

Source from the content-addressed store, hash-verified

166
167// Read implements `io.Reader`
168func (m *Reader) Read(p []byte) (int, error) {
169 return m.R.Read(p)
170}
171
172// CopyNext reads the next object from m without decoding it and writes it to w.
173// It avoids unnecessary copies internally.

Callers 3

FuzzReaderFunction · 0.95
TestReadWriteFileFunction · 0.45
ReadTimeMethod · 0.45

Calls

no outgoing calls

Tested by 2

FuzzReaderFunction · 0.76
TestReadWriteFileFunction · 0.36