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 copy_to_slice() and copy_from_slice() #66

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mgeier
Copy link
Owner

@mgeier mgeier commented Sep 24, 2021

Closes #59.

@mgeier
Copy link
Owner Author

mgeier commented Oct 16, 2021

@mgeier
Copy link
Owner Author

mgeier commented Oct 17, 2021

The name copy_from_slice() might be problematic because there is a function with the same name in the standard library (https://doc.rust-lang.org/std/primitive.slice.html#method.copy_from_slice), which has a slightly different signature and different semantics.

@mgeier mgeier marked this pull request as draft January 8, 2022 11:23
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.

Add methods for copying slices of data into and out of the ring buffer
1 participant