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

feature request: export encode/decode -Options #112

Closed
tabcat opened this issue Jan 25, 2024 · 1 comment · Fixed by #113
Closed

feature request: export encode/decode -Options #112

tabcat opened this issue Jan 25, 2024 · 1 comment · Fixed by #113

Comments

@tabcat
Copy link
Contributor

tabcat commented Jan 25, 2024

I want to use cborg.decodeFirst with the decodeOptions from this repo.

@rvagg
Copy link
Member

rvagg commented Jan 26, 2024

reasonable, would you care to work up a PR to give it a go? shouldn't be too difficult I think, just add a new export for decodeFirst, do basically the same thing as for decode and then add a test or two to verify that it does the right thing

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 a pull request may close this issue.

2 participants