MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / NewReader

Function NewReader

protocol/net/io/encoding/reader.go:21–23  ·  view source on GitHub ↗
(r io.Reader, length int)

Source from the content-addressed store, hash-verified

19}
20
21func NewReader(r io.Reader, length int) Reader {
22 return Reader{r, length}
23}
24
25func (r *Reader) SetLength(length int) {
26 r.length = length

Callers 1

ReadPacketMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected