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

Method readByte

protocol/nbt/decoder.go:1035–1039  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1033}
1034
1035func (d *Decoder) readByte() (int8, error) {
1036 var data [1]byte
1037 _, err := d.rd.Read(data[:])
1038 return int8(data[0]), err
1039}
1040
1041func (d *Decoder) readTo(t []byte) error {
1042 _, err := d.rd.Read(t)

Callers 6

DecodeMethod · 0.95
decodeCompoundMapMethod · 0.95
decodeCompoundStructMethod · 0.95
decodeListMethod · 0.95
decodeCompoundMethod · 0.95
_decodeListMethod · 0.95

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected