1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// SPDX-License-Identifier: Apache-2.0
//! Byte-offset and value constants generated from `docs/layouts/asm.toml`.
//!
//! Do not edit by hand. Regenerate with:
//! `UPDATE_LAYOUT_CODE=1 cargo test -p cadmpeg --test layout_tables`.
// Records omitted because the table declares a contradiction.
//
// - `coedge` (size_mismatch): The stated offsets end `chunk[10]` at +99 but the heading declares 100 B. Shifting every stated offset by +1 (head 9 bytes rather than 8, matching the `coedge` name-token length) closes the record at 100; so does leaving the offsets alone and declaring 99 B. The spec does not say which side is wrong.
// - `edge` (size_mismatch): The stated offsets end the continuity text at +99 but the heading declares 98 B. Removing the one-byte gap at +88 (placing the sense byte at +88 and the text at +89) closes the record at 98 exactly, which suggests both trailing offsets are one too high. The spec does not state which.
/// Byte offsets for the `asmheader_binaryfile8` record.
///
/// Spec §1. Record length 47 B.
///
/// Dialects: `acis:asm-binaryfile-8`.
///
/// ```text
/// Fixed prefix only. The string region and the six trailing tagged metadata fields begin at byte 47 and are a sequence, not a fixed-offset structure.
/// ```
pub
/// Byte offsets for the `asmheader_binaryfile4` record.
///
/// Spec §1. Record length 31 B.
///
/// Dialects: `acis:asm-binaryfile-4`.
///
/// ```text
/// Fixed prefix only; the string region begins at byte 31.
/// ```
pub
/// Byte offsets for the `acisheader_binaryfile4` record.
///
/// Spec §1. Record length 31 B.
///
/// Dialects: `acis:save-format-217`, `acis:save-format-218`, `acis:save-format-binary-other`.
///
/// ```text
/// Fixed 32-bit ACIS prefix; the tagged string region begins at byte 31.
/// ```
pub