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

Function NewStaticReader

protocol/nbt/staticReader.go:18–20  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

16}
17
18func NewStaticReader(r io.Reader) StaticReader {
19 return StaticReader{r}
20}
21
22// reads a byte
23func (r StaticReader) readByte() (byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected