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
With latest snapshot version 2.9.0.pr3-SNAPSHOT, field of bigger tag will be serialized between fields of smaller tag. Below is the test case.
The serialization result is(in hex)
08 01 12 0a 12 02 08 03 08 02 12 02 08 04
While the correct result is(in hex)
08 01 12 0a 08 02 12 02 08 03 12 02 08 04
'08 02' is inserted between list element '12 02 08 03' and '12 02 08 04'
If leave out level3b, that is
List level3s = Arrays.asList(level3a);
then the result will be
0a 06 12 02 08 03 08 02
while the correct result is
0a 06 08 02 12 02 08 03
'08 02' 's ByteAccumulator mistakenly linked to '12 02' 's.
cowtowncoder
changed the title
Protobuf serialization message in List sequence error
Protobuf serialization of multiple nesting levels has issues
Apr 4, 2017
cowtowncoder
changed the title
Protobuf serialization of multiple nesting levels has issues
Serialization of multiple nesting levels has issues
Apr 4, 2017
With latest snapshot version 2.9.0.pr3-SNAPSHOT, field of bigger tag will be serialized between fields of smaller tag. Below is the test case.
The serialization result is(in hex)
08 01 12 0a 12 02 08 03 08 02 12 02 08 04
While the correct result is(in hex)
08 01 12 0a 08 02 12 02 08 03 12 02 08 04
'08 02' is inserted between list element '12 02 08 03' and '12 02 08 04'
The text was updated successfully, but these errors were encountered: