ibessonov commented on code in PR #3852:
URL: https://github.com/apache/ignite-3/pull/3852#discussion_r1621927052


##########
modules/core/src/main/java/org/apache/ignite/internal/util/ByteUtils.java:
##########
@@ -64,6 +65,17 @@ public static long bytesToLong(byte[] bytes) {
         return bytesToLong(bytes, 0);
     }
 
+
+    /**
+     * Constructs {@code long} from byte array created with {@link 
#longToComparableBytes(long)} with offset equal to 0.
+     *
+     * @param bytes Array of bytes.
+     * @return Long value.
+     */
+    public static long comparableBytesToLong(byte[] bytes) {

Review Comment:
   We already have instances where these methods are used exclusively as a 
conversion to BE. What do we do with them?



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to