Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testReadUnicodeStringMalformed (0.53 seconds)

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

            assertEquals(4, str.getLength());
            assertEquals(4, str.getMaxLength());
            assertEquals(0x1234, str.getPointer());
        }
    
        @Test
        public void testReadUnicodeStringMalformed() throws IOException {
            // length > maxLength
            byte[] data = new byte[] { 0x08, 0x00, 0x04, 0x00, 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top