Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToHexStringLong (0.29 sec)

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

            assertEquals("FFFF", Hexdump.toHexString(-1, 4));
            assertEquals("FF", Hexdump.toHexString(-1, 2));
        }
    
        @Test
        @DisplayName("Should convert long to hex string with specified size")
        void testToHexStringLong() {
            // Test zero
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("0000", Hexdump.toHexString(0L, 4));
    
    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