MCPcopy Index your code
hub / github.com/Monibuca/engine / ReadByte

Method ReadByte

util/pool.go:127–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (r *BLLsReader) ReadByte() (b byte, err error) {
128 if r.BLLReader.CanRead() {
129 b, err = r.BLLReader.ReadByte()
130 if err == nil {
131 return
132 }
133 }
134 r.ListItem = r.Next
135 if !r.CanRead() {
136 return 0, io.EOF
137 }
138 r.BLLReader = *r.Value.NewReader()
139 return r.BLLReader.ReadByte()
140}
141
142type BLLs struct {
143 List[*BLL]

Callers

nothing calls this directly

Calls 4

CanReadMethod · 0.95
CanReadMethod · 0.65
ReadByteMethod · 0.65
NewReaderMethod · 0.45

Tested by

no test coverage detected