Closed tabcat closed 7 months ago
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
I want to use cborg.decodeFirst with the decodeOptions from this repo.