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

OER: Add decode_with_remainder for decoding stream #386

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

Nicceboy
Copy link
Contributor

Currently decoding a stream is a bit cumbersome. Since we pass slices as reference, we don't consume the data.

Maybe we can have a high level decode_with_remainder function that returns the type and reference to the remaining slice. Similar approach should work for other codecs too.

@XAMPPRocky XAMPPRocky merged commit ff3fa0f into librasn:main Nov 29, 2024
65 checks passed
@github-actions github-actions bot mentioned this pull request Nov 28, 2024
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