Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readUnsignedInt (0.06 sec)

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

         * @throws IOException if an I/O error occurs
         */
        public Date readFiletime() throws IOException {
            Date date = null;
    
            final long last = readUnsignedInt();
            final long first = readUnsignedInt();
            if (first != 0x7fffffffL && last != 0xffffffffL) {
                final BigInteger lastBigInt = BigInteger.valueOf(last);
                final BigInteger firstBigInt = BigInteger.valueOf(first);
    Registered: Sun Sep 07 00:10:21 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

            byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0xFFFFFFFFL, pdis.readUnsignedInt());
        }
    
        @Test
        public void testReadFiletime() throws IOException {
            // A non-null date
            long time = System.currentTimeMillis();
            BigInteger filetime = BigInteger.valueOf(time)
    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