Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createInputStream (0.94 sec)

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

        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
        public void testAlign() throws IOException {
            // Test alignment from position 1 to 4
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
            PacDataInputStream pdis = createInputStream(data);
            pdis.readByte(); // position is 1
    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