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

improved documentation of the cobs decoding #97

Merged
merged 1 commit into from Mar 23, 2023

Conversation

gutzchi
Copy link
Contributor

@gutzchi gutzchi commented Mar 23, 2023

I believe that the modification of the input buffer by the cobs decoding functions is not expected as a user of the library, as it requires you to copy the input buffer every time you call it. In postcard, this does not happen with the non-cobs serde functions.

I consider that by noting this fact in the documentation, other users might be able to realise it earlier and spend less time debugging as it happened to me.

@netlify
Copy link

netlify bot commented Mar 23, 2023

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit 04212a4
🔍 Latest deploy log https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/641c6a4501dd300008865324

@jamesmunns
Copy link
Owner

This looks like a very reasonable addition, thanks!

@jamesmunns jamesmunns merged commit 62c0547 into jamesmunns:main Mar 23, 2023
4 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.

None yet

2 participants