mirror of
https://github.com/waaraawa/ByteGrid.git
synced 2026-07-22 06:41:47 +00:00
- Add legendPosition option (right, left, bottom, none) to control legend placement - Add showFooter option to show/hide footer info - Support both config (YAML) and render options for flexibility - Fix legend overlapping issue when positioned at bottom - Maintain backward compatibility with showLegend option
24 lines
529 B
YAML
24 lines
529 B
YAML
name: Mixed Bit and Byte Offsets
|
|
size: 32b
|
|
layout: 32b
|
|
fields:
|
|
- offset: 0-3b
|
|
name: Version
|
|
type: bits
|
|
description: "4 bits with b suffix"
|
|
color: blue
|
|
- offset: 4-7b
|
|
name: IHL
|
|
type: bits
|
|
description: "4 bits with b suffix"
|
|
color: cyan
|
|
- offset: 1B
|
|
name: SecondByte
|
|
type: uint8_t
|
|
description: "Byte 1 with B suffix (= bits 8-15)"
|
|
color: yellow
|
|
- offset: 2-3
|
|
name: ThirdFourthByte
|
|
type: uint16_t
|
|
description: "Bytes 2-3 no suffix (= bits 16-31)"
|
|
color: green
|