Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testReadInt4 (0.28 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int result = SessionServicePacket.readInt2(src, 2);
    
            assertEquals(0xABCD, result);
        }
    
        @Test
        @DisplayName("readInt4 should correctly read 32-bit integer")
        void testReadInt4() {
            byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78 };
            int result = SessionServicePacket.readInt4(src, 0);
    
            assertEquals(0x12345678, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
Back to Top