MCPcopy Create free account
hub / github.com/demoth/jake2 / readByte

Method readByte

qcommon/src/main/java/jake2/qcommon/sizebuf_t.java:91–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90 // fixme: should return byte type
91 public int readByte() {
92 int c;
93
94 if (readcount + 1 > cursize)
95 c = -1;
96 else
97 c = data[readcount] & 0xff;
98
99 readcount++;
100 return c;
101 }
102
103 // legitimate signed byte [-128 , 127]
104 // returns -1 if no more characters are available

Callers 15

readShortMethod · 0.95
readIntMethod · 0.95
readStringMethod · 0.95
readDirMethod · 0.95
readDataMethod · 0.95
testBytesMethod · 0.80
loadMethod · 0.80
parseFromBufferMethod · 0.80
parseMethod · 0.80
readDeltaUserCommandMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80

Calls

no outgoing calls

Tested by 1

testBytesMethod · 0.64