Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toHexChars (0.05 sec)

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

        @DisplayName("Should handle edge cases in toHexChars")
        void testToHexCharsEdgeCases() {
            // Test with zero
            char[] dst1 = new char[4];
            java.util.Arrays.fill(dst1, 'X');
            Hexdump.toHexChars(0, dst1, 0, 4);
            assertEquals("0000", new String(dst1));
    
            // Test with all F's
            char[] dst2 = new char[8];
            Hexdump.toHexChars(0xFFFFFFFF, dst2, 0, 8);
    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