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

Add UnmarshalFirst to DecMode interface #402

Merged

Conversation

fxamacker
Copy link
Owner

UnmarshalFirst() was added in PR #398, so make it available in DecMode interface, too.

Closes #401

UnmarshalFirst parses the first CBOR data item using the decoding mode.
Any remaining bytes are returned in rest.
@fxamacker fxamacker added the enhancement New feature or request label May 6, 2023
@fxamacker fxamacker self-assigned this May 6, 2023
Copy link
Contributor

@x448 x448 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fxamacker fxamacker merged commit 03bf60e into master May 6, 2023
@fxamacker fxamacker added this to the v2.5.0 milestone May 7, 2023
@fxamacker fxamacker deleted the fxamacker/add-unmarshalfirst-to-DecMode-interface branch June 18, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UnmarshalFirst to DecMode interface
2 participants