waaraawa_ByteGrid/examples/simple-struct.yaml
waaraawa 43ae040047 feat(core): add bitfield grid visualization
- Add uniformRowHeight option to RenderOptions
  - Render bit grid (8 vertical lines) inside bitfield cells
  - Show bit numbers (7-0, MSB first) below byte numbers
  - Increase row height to 45px for rows with bitfields
  - Increase default cellWidth to 40px for readability
  - Add 6 new tests for bitfield visualization
2025-10-13 18:54:15 +09:00

24 lines
477 B
YAML

name: Simple Data Structure
size: 16
layout: 8
fields:
- offset: 0-3
name: ID
type: uint32_t
description: "Unique identifier"
color: blue
- offset: 4-7
name: Timestamp
type: uint32_t
description: "Unix timestamp"
color: purple
- offset: 8-11
name: Value
type: float
description: "Floating point value"
color: green
- offset: 12-15
name: Checksum
type: uint32_t
description: "CRC32 checksum"
color: orange