Skip to content

fix(hex): avoid splitting on non-sector-aligned large gaps#50

Merged
HalfSweet merged 1 commit intoOpenSiFli:masterfrom
HalfSweet:fix-hex-aligned
Mar 3, 2026
Merged

fix(hex): avoid splitting on non-sector-aligned large gaps#50
HalfSweet merged 1 commit intoOpenSiFli:masterfrom
HalfSweet:fix-hex-aligned

Conversation

@HalfSweet
Copy link
Copy Markdown
Member

Keep HEX data in one segment when a later block starts off 4KB boundary.

For large gaps, only split at aligned sector starts; otherwise fill gap bytes with 0xFF.

Also add regression tests for both hex parsing paths.

Keep HEX data in one segment when a later block starts off 4KB boundary.

For large gaps, only split at aligned sector starts; otherwise fill gap bytes with 0xFF.

Also add regression tests for both hex parsing paths
@HalfSweet HalfSweet merged commit aa6719c into OpenSiFli:master Mar 3, 2026
12 checks passed
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