MCPcopy Create free account
hub / github.com/facebook/time / Read

Method Read

sa53/protocol/protocol.go:347–349  ·  view source on GitHub ↗

Read implements io.Reader interface

(b []byte)

Source from the content-addressed store, hash-verified

345
346// Read implements io.Reader interface
347func (m *Mac) Read(b []byte) (int, error) {
348 return m.port.Read(b)
349}
350
351// Write implements io.Writer interface
352func (m *Mac) Write(b []byte) (int, error) {

Callers 1

readResultMethod · 0.95

Calls 1

ReadMethod · 0.65

Tested by

no test coverage detected