- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for toHexChars (0.04 seconds)
-
src/main/java/jcifs/util/Hexdump.java
* @return a hexadecimal string representation of the value, padded to the specified size */ public static String toHexString(final int val, final int size) { final char[] c = new char[size]; toHexChars(val, c, 0, size); return new String(c); } /** * Converts a long value to a hexadecimal string representation with specified padding. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
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);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)