Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadUnsignedShort (0.15 sec)

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

            byte[] data = new byte[] { (byte) 0xFF };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(255, pdis.readUnsignedByte());
        }
    
        @Test
        public void testReadUnsignedShort() throws IOException {
            // Little-endian 0xFFFF -> 0xFF 0xFF
            byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
    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