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

Method setTwoBytes

java/org/apache/coyote/http2/ByteUtil.java:82–85  ·  view source on GitHub ↗
(byte[] output, int firstByte, int value)

Source from the content-addressed store, hash-verified

80
81
82 static void setTwoBytes(byte[] output, int firstByte, int value) {
83 output[firstByte] = (byte) ((value & 0xFF00) >> 8);
84 output[firstByte + 1] = (byte) (value & 0xFF);
85 }
86
87
88 static void setThreeBytes(byte[] output, int firstByte, int value) {

Callers 3

sendSettingsMethod · 0.95

Calls

no outgoing calls

Tested by 2

sendSettingsMethod · 0.76