Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAvailable (0.09 sec)

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

            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readByte(); // position is 1
            pdis.align(0);
            assertEquals(3, pdis.available());
        }
    
        @Test
        public void testAvailable() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(4, pdis.available());
            pdis.readByte();
    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