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

incremental decode #50

Merged
merged 48 commits into from
Dec 30, 2023
Merged

incremental decode #50

merged 48 commits into from
Dec 30, 2023

Conversation

charlesnicholson
Copy link
Owner

@charlesnicholson charlesnicholson commented Dec 28, 2023

Implements #48 by introducing cobs_decode_inc_begin and cobs_decode_inc. Improvements over cobs_encode_inc interface by allowing each separate call to cobs_decode_inc to take new src/dst pointers, which allows the caller to not have to store the entire encoded/decoded buffer. Useful for low-memory streaming environments where you want to decode-and-stream incrementally.

It also overhauls the CI + sanitizer stuff: sanitizers are run as separate jobs because they're not all compatible. All jobs now flow into an all-checks-passed job so I don't have to keep updating the github branch protection pages.

Also some C++20 modernization over in the tests.

@charlesnicholson charlesnicholson merged commit 3b7a47f into main Dec 30, 2023
13 checks passed
@charlesnicholson charlesnicholson deleted the incremental-decode branch December 30, 2023 15:50
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.

1 participant