Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadLong (0.08 sec)

  1. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0x12345678, pdis.readInt());
        }
    
        @Test
        public void testReadLong() throws IOException {
            // Little-endian 0x123456789ABCDEF0 -> 0xF0 0xDE 0xBC 0x9A 0x78 0x56 0x34 0x12
            byte[] data = new byte[] { (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, 0x78, 0x56, 0x34, 0x12 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top