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

Method readTo

protocol/nbt/decoder.go:1041–1044  ·  view source on GitHub ↗
(t []byte)

Source from the content-addressed store, hash-verified

1039}
1040
1041func (d *Decoder) readTo(t []byte) error {
1042 _, err := d.rd.Read(t)
1043 return err
1044}
1045
1046func (d *Decoder) readShort() (int16, error) {
1047 var data [2]byte

Callers 2

decodeCompoundMapMethod · 0.95
decodeCompoundStructMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected