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

Add support for NULL chainpack serialization buffer #202

Open
fvacek opened this issue Sep 18, 2022 · 0 comments
Open

Add support for NULL chainpack serialization buffer #202

fvacek opened this issue Sep 18, 2022 · 0 comments
Assignees

Comments

@fvacek
Copy link
Contributor

fvacek commented Sep 18, 2022

This enables message length counting without buffer needed.

fvacek pushed a commit that referenced this issue Jan 6, 2023
To measure buffer size needed to pack use ccpcp_pack_context_dry_run_init()
Packed size can be found in ccpcp_pack_context::bytes_written field

For example see: test_dry_run_int() in test_ccpcp.c
fvacek added a commit that referenced this issue Jan 14, 2023
Add support for NULL chainpack serialization buffer #202
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