You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem here is use of sbeBlockLength which is the decoder's block length and not the message's block length, which means if the block length has changed between the two versions then we will misinterpret the message. In contrast, we use the message's schema version via m_actingVersion, instead of the decoder's schema version.
Is there a simple way to fix this? Or - if by design - at least to compare m_actingVersion against sbeSchemaVersion to detect misuse of operator<<?
Thanks!
The text was updated successfully, but these errors were encountered:
From CppGenerator.java:
I think the problem here is use of
sbeBlockLength
which is the decoder's block length and not the message's block length, which means if the block length has changed between the two versions then we will misinterpret the message. In contrast, we use the message's schema version viam_actingVersion
, instead of the decoder's schema version.Is there a simple way to fix this? Or - if by design - at least to compare m_actingVersion against sbeSchemaVersion to detect misuse of operator<<?
Thanks!
The text was updated successfully, but these errors were encountered: