Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReverseBytes (0.97 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            // Write header with invalid version
            dos.writeInt(Integer.reverseBytes(1)); // 1 buffer
            dos.writeInt(Integer.reverseBytes(999)); // Invalid version
    
            // Add minimal buffer entry
            dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO));
            dos.writeInt(Integer.reverseBytes(10));
            dos.writeLong(Long.reverseBytes(100));
    
            byte[] invalidVersionPac = baos.toByteArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacDataInputStream.java

            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
        /**
         * Reads a 32-bit integer value with proper alignment and byte order.
         * @return the integer value in little-endian format
         * @throws IOException if an I/O error occurs
         */
        public int readInt() throws IOException {
            align(4);
            return Integer.reverseBytes(this.dis.readInt());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeLong(long v) throws IOException {
        ((DataOutputStream) out).writeLong(Long.reverseBytes(v));
      }
    
      /**
       * Writes a {@code short} as specified by {@link DataOutputStream#writeShort(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top