SammyVimes commented on code in PR #1272:
URL: https://github.com/apache/ignite-3/pull/1272#discussion_r1008288430


##########
modules/platforms/cpp/ignite/network/length_prefix_codec.cpp:
##########
@@ -62,7 +62,7 @@ data_buffer_ref length_prefix_codec::decode(data_buffer_ref 
&data) {
         if (m_packet.size() < PACKET_HEADER_SIZE)
             return {};
 
-        m_packet_size = bytes::load<endian::LITTLE, int32_t>(m_packet.data());
+        m_packet_size = bytes::load<endian::BIG, int32_t>(m_packet.data());

Review Comment:
   We do, but right now Ignite uses `ByteOrder.BIG_ENDIAN` to read packet size



-- 
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