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

Method ReadAll

protocol/net/io/encoding/reader.go:49–52  ·  view source on GitHub ↗
(data *[]byte)

Source from the content-addressed store, hash-verified

47}
48
49func (r Reader) ReadAll(data *[]byte) (err error) {
50 *data, err = r.readBytes(r.length)
51 return err
52}
53
54func (r Reader) Byte(i *int8) error {
55 d, err := r.readBytes(1)

Callers 6

DecodeMethod · 0.45
DecodeMethod · 0.45
DecodeMethod · 0.45
DecodeMethod · 0.45
PlayerDataMethod · 0.45
OpenFunction · 0.45

Calls 1

readBytesMethod · 0.95

Tested by

no test coverage detected