- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testReadLengthMaximum (0.69 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
// Bit 0 of byte 1 is MSB, followed by bytes 2 and 3 assertEquals(0x012345, length); } @Test @DisplayName("readLength should handle maximum length") void testReadLengthMaximum() { byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)