Skip to content

Conversation

estevaopbs
Copy link

@estevaopbs estevaopbs commented Apr 16, 2025

It's needed when creating a trait to generalize BUINT<N>.
@estevaopbs estevaopbs changed the title Made BYTES_USIZE public in buint/endian.rs Made BYTES_USIZE pub in buint/endian.rs Apr 19, 2025
@estevaopbs estevaopbs changed the title Made BYTES_USIZE pub in buint/endian.rs Made BUint::<N>::BYTES_USIZE pub in buint/endian.rs Apr 19, 2025
@isaacholt100
Copy link
Owner

isaacholt100 commented Apr 27, 2025

Hi @estevaopbs, sorry for the delay in getting back... thanks for raising this, that hadn't crossed my mind! In fact, BYTES_USIZE will no longer be necessary when v0.14.0 is released (see #54) as the digits will be u8, so to_xe_bytes will simply return [u8; N]. I will be very busy for the next several weeks, but after that v0.14.0 should be published fairly quickly, so hopefully it's ok for you to wait til then?

Btw, if you have any comments on #54, I'd love to hear them.

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