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