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
Notice how the 0 (zero) value is considered being unset and isn't transmitted "\b\x00".
This currentl breaks cross-language compatibility between these two libs and therefore also backwards compat with proto2.
Not sure how much it's going to cost, but we need to check the @_bitmask instead of val != 0 in these cases for whether something is set or not.
The text was updated successfully, but these errors were encountered:
Given a message with an optional int
The official Google proto library encodes these values as such:
When protoboeuf encodes this message, then it should match the output above:
Notice how the 0 (zero) value is considered being unset and isn't transmitted
"\b\x00"
.This currentl breaks cross-language compatibility between these two libs and therefore also backwards compat with proto2.
Not sure how much it's going to cost, but we need to check the
@_bitmask
instead ofval != 0
in these cases for whether something is set or not.The text was updated successfully, but these errors were encountered: