Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testReadString_Oem (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] src = expected.getBytes("UTF-16LE");
            String result = response.readString(src, 0, src.length);
            assertEquals(expected, result);
        }
    
        @Test
        void testReadString_Oem() {
            response.useUnicode = false;
            String expected = "test";
            // Simulate OEM encoding with a null terminator
            byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top