-
Notifications
You must be signed in to change notification settings - Fork 2
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 array conversions #6
Conversation
I'm in the process implementing what was discussed in #4 |
Ah, I missed the point with the |
deba34d
to
775550f
Compare
775550f
to
d9effcc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also add a method for converting a Bytes<N>
to Bytes<M>
where M >= N
. This can't be done through the usual conversion traits, but it can still be useful.
d9effcc
to
bddb5af
Compare
|
bddb5af
to
7840edb
Compare
This patch adds infallible conversions from arrays of the same size and references to arrays of the same or a smaller size.