Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sigSize (0.03 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

         * @throws PACDecodingException if the SID data is invalid
         */
        public SID readSid() throws IOException, PACDecodingException {
            final int sidSize = readInt();
            final byte[] bytes = new byte[8 + sidSize * 4];
            readFully(bytes);
            return new SID(bytes, 0);
        }
    
        /**
         * Skips the specified number of bytes in the stream.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testReadSid() throws IOException, PACDecodingException {
            // A simple SID: S-1-1-0
            byte[] data = new byte[] { 0x01, 0x00, 0x00, 0x00, // sidSize = 1
                    0x01, // revision
                    0x01, // sub-authority count
                    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, // authority
                    0x00, 0x00, 0x00, 0x00 // sub-authority 1
            };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top