MCPcopy Create free account
hub / github.com/apache/tomcat / peekInt

Method peekInt

java/org/apache/coyote/ajp/AjpMessage.java:261–266  ·  view source on GitHub ↗

Peek at the next integer without advancing the read position. @return The integer value at the current read position

()

Source from the content-addressed store, hash-verified

259 * @return The integer value at the current read position
260 */
261 public int peekInt() {
262 validatePos(pos + 2);
263 int b1 = buf[pos] & 0xFF;
264 int b2 = buf[pos + 1] & 0xFF;
265 return (b1 << 8) + b2;
266 }
267
268
269 /**

Callers 2

receiveMethod · 0.80
prepareRequestMethod · 0.80

Calls 1

validatePosMethod · 0.95

Tested by

no test coverage detected