Skip to content

Add ArrayEncoding::{from_byte_array, to_byte_array}#1302

Merged
tarcieri merged 1 commit into
masterfrom
array-encoding-dynamic-endianness
Jun 21, 2026
Merged

Add ArrayEncoding::{from_byte_array, to_byte_array}#1302
tarcieri merged 1 commit into
masterfrom
array-encoding-dynamic-endianness

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Adds methods that take a ByteOrder parameter to determine endianness.

Adds methods that take a `ByteOrder` parameter to determine endianness.
@codecov

codecov Bot commented Jun 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.10%. Comparing base (0ac9bf4) to head (6a91289).

Files with missing lines Patch % Lines
src/encoding.rs 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1302      +/-   ##
==========================================
- Coverage   91.14%   91.10%   -0.05%     
==========================================
  Files         190      190              
  Lines       22721    22731      +10     
==========================================
  Hits        20709    20709              
- Misses       2012     2022      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri tarcieri merged commit ec6615f into master Jun 21, 2026
32 checks passed
@tarcieri tarcieri deleted the array-encoding-dynamic-endianness branch June 21, 2026 19:55
@tarcieri tarcieri mentioned this pull request Jun 22, 2026
tarcieri added a commit that referenced this pull request Jun 22, 2026
## Added
- `BoxedUint::{from_be_slice_truncated, from_le_slice_truncated}` (#1266)
- `Encoding::{from_bytes, to_bytes}` (#1297)
- `Uint::{from_be_slice_truncated, from_le_slice_truncated}` (#1299)
- `Limb::{from_*_bytes, from_*_slice_truncated, to_*_bytes}` as
  `const fn`s (#1300)
- `Encoding::{from_be_slice_truncated, from_le_slice_truncated}` trait
  methods (#1301)
- `ArrayEncoding::{from_byte_array, to_byte_array}` (#1302)

## Fixed
- Preserve `NonZero` and `Odd` invariants in `Zeroize` impls (#1287)
- `bitlen` performance (#1298)
- `floor_sqrt` regression (#1304)
- Truncated Karatsuba carry (#1305)
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.

1 participant