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

Use &mut Buf in decode_length_delimited and merge_length_delimited #863

Closed
wants to merge 1 commit into from

Conversation

Sawchord
Copy link

See #862

This PR:

  • Changes the function signatures of merge_length_delimited and decode_length_delimited to take a &mut B where B: Buf instead of B by ownership
  • Adds the std feature of the bytes crate when std is set in this crate (allows to use Buf implementation of Cursor)

@Sawchord
Copy link
Author

Closing since issue has been resolved.

@Sawchord Sawchord closed this May 31, 2023
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

1 participant