Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToHexChars (0.64 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // First byte should be 0x10 (16 in decimal)
            assertTrue(output.contains(" 10 11 12"));
        }
    
        @Test
        @DisplayName("Should convert hex chars correctly")
        void testToHexChars() {
            // Test integer conversion
            char[] dst1 = new char[8];
            Hexdump.toHexChars(0x1234ABCD, dst1, 0, 8);
            assertEquals("1234ABCD", new String(dst1));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top