From ed08d0f7285ba04dcbd8e50191c080ddf35321cd Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Mon, 10 Mar 2025 05:15:48 +0700 Subject: [PATCH] docs(core): add note on data alignment --- docs/file-formats/kmx-plus-file-format.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/file-formats/kmx-plus-file-format.md b/docs/file-formats/kmx-plus-file-format.md index 680f3675b9..2e4577d650 100644 --- a/docs/file-formats/kmx-plus-file-format.md +++ b/docs/file-formats/kmx-plus-file-format.md @@ -25,6 +25,7 @@ Draft spec PR: - All offsets are 32-bit little-endian values. For all sections except for the `'sect'` section (which see), offsets are relative to the beginning of each section and must fall within the `size` of the section. +- Data fields are not necessarily aligned to 32-bit or 64-bit boundaries. ## C7043.2 Sections @@ -35,8 +36,8 @@ Draft spec PR: - Other than the `sect` table itself, the rest of the sections follow in binary order in the file. In other words, the binary ordering of the section identifiers determines the order of the file layout. -- All sections other than the `sect` table are optional for the file - format to be valid, however, a valid keyboard will need most or +- All sections other than the `sect` table are optional for the file + format to be valid, however, a valid keyboard will need most or all of the sections present to be usable. ### C7043.2.1 `sect`—Section Table of contents