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

Improve support for big/little-endian arrays #299

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Dec 15, 2023

Issues:

N/A

Description of changes:

  • Improve support for big/little-endian arrays.

Call-outs:

  • FromByteArray was previously unused. I renamed/repurposed it.
  • Although these traits/functions are pub they are not (yet) visible outside the crate. These could potentially be useful to our consumers.

Testing:

  • Added/updated unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@justsmth justsmth requested a review from a team as a code owner December 15, 2023 14:52
@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c3e3ff5) 95.22% compared to head (b559b86) 95.27%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #299      +/-   ##
==========================================
+ Coverage   95.22%   95.27%   +0.05%     
==========================================
  Files          55       55              
  Lines        6992     7010      +18     
==========================================
+ Hits         6658     6679      +21     
+ Misses        334      331       -3     

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

samuel40791765
samuel40791765 previously approved these changes Dec 15, 2023
aws-lc-rs/src/endian.rs Outdated Show resolved Hide resolved
Co-authored-by: Samuel Chiang <samuelchungchiang@gmail.com>
@justsmth justsmth merged commit 28dc103 into aws:main Dec 18, 2023
105 of 109 checks passed
@justsmth justsmth deleted the endian-arys branch December 18, 2023 19:03
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.

4 participants