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

Issue with difference in size of message Pack based on different language #156

Open
Rahul-Sharma-87 opened this issue Mar 28, 2018 · 0 comments

Comments

@Rahul-Sharma-87
Copy link

@Rahul-Sharma-87 Rahul-Sharma-87 commented Mar 28, 2018

Hi,

I m facing issue where same message Packed with the ruby and C# has different number of bytes and where ruby code msgpack library gives below warning while unpacking:
Error in processing message. error_class=MessagePack::MalformedFormatError error=#### <MessagePack::MalformedFormatError: 11 extra bytes after the deserialized object>

My intention is to send data from c# to ruby program.

Message in ruby: [works fine]
["test3.aa",time,{"a"=>1}].to_msgpack

Message in C# [Shows warning message for extra bytes on unpack]
Object[] test1 = new Object[3] {"test3.aa", 1308466941, new {a =1}};

Thanks in advance,
Rahul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.