Skip to content

Document that endianness affects bit field extraction order#290

Merged
keichi merged 1 commit intomasterfrom
claude/doc-endianness-bit-order
Feb 26, 2026
Merged

Document that endianness affects bit field extraction order#290
keichi merged 1 commit intomasterfrom
claude/doc-endianness-bit-order

Conversation

@keichi
Copy link
Owner

@keichi keichi commented Feb 25, 2026

  • Add a note to the endianness() API documentation that the setting also affects bit field extraction order
  • In big-endian mode, bit fields are extracted from MSB to LSB; in little-endian mode, from LSB to MSB
  • Mention the workaround for controlling byte order and bit order independently (using .nest() with a separate Parser)

Closes #289

@keichi keichi merged commit 56a8c7d into master Feb 26, 2026
6 checks passed
@keichi keichi deleted the claude/doc-endianness-bit-order branch February 26, 2026 02:40
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.

Bit field order changes depending on endianness. Is this intentional?

1 participant