Skip to content

Encode u128/u128 as [u8; 16]#59

Merged
frankmcsherry merged 1 commit intofrankmcsherry:masterfrom
antiguru:larges
Aug 9, 2025
Merged

Encode u128/u128 as [u8; 16]#59
frankmcsherry merged 1 commit intofrankmcsherry:masterfrom
antiguru:larges

Conversation

@antiguru
Copy link
Copy Markdown
Contributor

@antiguru antiguru commented Aug 8, 2025

As it says on the box, encode u128/i128 as [u8; 16] to avoid alignment hassle.

We could rework it to a macro to support other odd types, too, but not doing that yet.

Copy link
Copy Markdown
Owner

@frankmcsherry frankmcsherry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me!

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
@frankmcsherry frankmcsherry merged commit 18d2a12 into frankmcsherry:master Aug 9, 2025
6 checks passed
@antiguru antiguru deleted the larges branch August 9, 2025 05:01
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