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

Method writeInt

qcommon/src/main/java/jake2/qcommon/sizebuf_t.java:132–138  ·  view source on GitHub ↗
(int c)

Source from the content-addressed store, hash-verified

130 }
131
132 public void writeInt(int c) {
133 int i = GetSpace(4);
134 data[i++] = (byte) (c & 0xff);
135 data[i++] = (byte) (c >>> 8 & 0xff);
136 data[i++] = (byte) (c >>> 16 & 0xff);
137 data[i] = (byte) (c >>> 24 & 0xff);
138 }
139
140 public int readInt() {
141 final int c;

Callers 15

writeFloatMethod · 0.95
transmitMethod · 0.95
writeAdapterMethod · 0.80
WriteLevelMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80

Calls 1

GetSpaceMethod · 0.95

Tested by 1

testIntegersMethod · 0.64