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

feat: add copy_*e_to_slice family #424

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Dec 30, 2024

Motivation

Add convenient methods for writing Uints to pre-allocated buffers

Supersedes #423

Solution

fn copy_le_to_slice()
fn checked_copy_le_to_slice()
fn copy_be_to_slice()
fn checked_copy_be_to_slice()

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@Evalir Evalir requested a review from prestwich as a code owner December 30, 2024 16:11
@Evalir Evalir force-pushed the evalir/copy-to-buf branch from 58cbffd to 1f30ca8 Compare December 30, 2024 16:11
@prestwich prestwich mentioned this pull request Dec 30, 2024
3 tasks
Copy link
Collaborator

@prestwich prestwich left a comment

Choose a reason for hiding this comment

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

🖖

@prestwich prestwich merged commit 6a513a0 into recmo:main Dec 30, 2024
17 checks passed
@Evalir Evalir deleted the evalir/copy-to-buf branch December 30, 2024 16:48
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.

2 participants