- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testReadLengthMaximum (0.09 seconds)
-
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); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0)