Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DataOutputStream (1.08 sec)

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

        }
    
        private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException {
            dos.writeShort(Short.reverseBytes(value));
        }
    
        private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {
            dos.writeInt(Integer.reverseBytes(value));
        }
    
        private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

        }
    
        // Test exception for invalid version
        @Test
        void testConstructorInvalidVersion() throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write header with invalid version
            dos.writeInt(Integer.reverseBytes(1)); // 1 buffer
            dos.writeInt(Integer.reverseBytes(999)); // Invalid version
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top