MCPcopy Index your code
hub / github.com/apache/tomcat / getThreeBytes

Method getThreeBytes

java/org/apache/coyote/http2/ByteUtil.java:71–73  ·  view source on GitHub ↗
(byte[] input, int firstByte)

Source from the content-addressed store, hash-verified

69
70
71 static int getThreeBytes(byte[] input, int firstByte) {
72 return ((input[firstByte] & 0xFF) << 16) + ((input[firstByte + 1] & 0xFF) << 8) + (input[firstByte + 2] & 0xFF);
73 }
74
75
76 static int getThreeBytes(ByteBuffer input, int firstByte) {

Callers 3

readFrameMethod · 0.95
validateMethod · 0.95
completedMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected