- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toHexChars (0.05 sec)
-
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. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0)