Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testToHexStringLong (0.11 seconds)

  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));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top