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

Rewrite cobs_encode_inc to support small buffers #47

Open
charlesnicholson opened this issue Nov 12, 2023 · 0 comments
Open

Rewrite cobs_encode_inc to support small buffers #47

charlesnicholson opened this issue Nov 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@charlesnicholson
Copy link
Owner

charlesnicholson commented Nov 12, 2023

Make cobs_encode_inc look like cobs_decode_inc - each call to cobs_encode_inc should take src + dst pointers, so that you don't need enough RAM to hold a fully-encoded buffer if you don't need that.

@charlesnicholson charlesnicholson added the enhancement New feature or request label Nov 12, 2023
@charlesnicholson charlesnicholson changed the title cobs_encode_inc communicates how many bytes can be sent Rewrite cobs_encode_inc to support small buffers Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant