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

More accurate counting of available space during MessageAny serialization #7

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

Stanislav-Povolotsky
Copy link

This fix fixes some situations where body in MessageAny can not be serialized:

  • After inline-serialization of 'init' should be one bit left for 'Either bit' for the body
  • 'body' should be inline-serialized only if there are available more or equal than (len(body.bits) + 1) bits

@yungwine yungwine merged commit f8b2a19 into yungwine:master Feb 20, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants