ibessonov commented on a change in pull request #566:
URL: https://github.com/apache/ignite-3/pull/566#discussion_r789566549



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
##########
@@ -261,6 +262,26 @@ private static void addByteAsHex(StringBuilder sb, byte b) 
{
         sb.append(Integer.toHexString(MASK & b >>> 
4)).append(Integer.toHexString(MASK & b));
     }
 
+    /**
+     * Returns a hex string representation of the given long value.
+     *
+     * @param val Value to convert to string.
+     * @return Hex string.
+     */
+    public static String hexLong(long val) {
+        return new IgniteStringBuilder(16).appendHex(val).toString();
+    }
+
+    /**
+     * Rtturns a hex string representation of the given integer value.
+     *
+     * @param val Value to convert to string.
+     * @return Hex string.
+     */
+    public static String hexInt(int val) {
+        return new IgniteStringBuilder(8).appendHex(val).toString();

Review comment:
       No, unfortunately




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to