Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packed repeated fields do not decode correctly #17

Closed
trink opened this issue Apr 8, 2014 · 2 comments
Closed

Packed repeated fields do not decode correctly #17

trink opened this issue Apr 8, 2014 · 2 comments

Comments

@trink
Copy link

trink commented Apr 8, 2014

message Test4 {
repeated int32 d = 4 [packed=true];
}

msg = "\x22\x06\x03\x8e\x02\x9e\xa7\x05";

Receive: task '

' failed at 'at EOF', lib/core.rs:165
Expected 'd' to be an array of: 3, 270, 86942

@stepancheg
Copy link
Owner

@trink test test4 fails in your environment, is that correct? It works well on mine.

@trink
Copy link
Author

trink commented Apr 8, 2014

Yeah, it works better when my test string isn't converted to UTF-8 ;)

@trink trink closed this as completed Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants