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

Method testGetFourBytes

test/org/apache/coyote/http2/TestByteUtil.java:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32 @Test
33 public void testGetFourBytes() {
34 byte[] input = new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff };
35 long result = ByteUtil.getFourBytes(input, 0);
36 Assert.assertEquals(0xffffffffL, result);
37 }
38
39}

Callers

nothing calls this directly

Calls 1

getFourBytesMethod · 0.95

Tested by

no test coverage detected