Hello guys, I have a two diffrent reselt while merging two payloads in Java
and JS.
This is my proto object:
syntax = "proto3";
>
> message Test4 {
> repeated int32 d = 4 [packed=true];
> }
>
and I'm trying decode this payload:
"2206038E029EA705220503039EA7052206038E029EA7052206038E029EA705"
In JS I get numbers in array: [3, 270, 86942] (size: 3)
but in Java I get list of Integer (size: 12)
3
270
86942
3
3
86942
3
270
86942
3
270
86942
Response in Java is correct.
Why there is an unpredictable result in JS?
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.