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 bytemuck for slice cast #36

Merged
merged 1 commit into from
May 11, 2024
Merged

Use bytemuck for slice cast #36

merged 1 commit into from
May 11, 2024

Conversation

djeedai
Copy link
Owner

@djeedai djeedai commented May 11, 2024

Use the bytemuck package for slice casting to byte, instead of rolling some manual unsafe one.

Fixes #29

Use the `bytemuck` package for slice casting to byte, instead of rolling
some manual unsafe one.

Fixes #29
@djeedai djeedai merged commit a4dc348 into main May 11, 2024
6 of 7 checks passed
@djeedai djeedai deleted the u/bytemuck branch May 11, 2024 21:55
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.

Consider using bytemuck instead of manual as_u8_slice()
1 participant