File: structure_with_sequence.yaml

package info (click to toggle)
dtfabric 20240211-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: python: 5,785; sh: 24; makefile: 19
file content (27 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
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
# dtFabric format specification.
---
name: byte
type: integer
attributes:
  format: unsigned
  size: 1
  units: bytes
---
name: uint32
type: integer
attributes:
  format: unsigned
  size: 4
  units: bytes
---
name: extension_block
type: structure
attributes:
  byte_order: little-endian
members:
- name: size
  data_type: uint32
- name: data
  type: sequence
  element_data_type: byte
  number_of_elements: 0 if extension_block.size == 0 else extension_block.size - 4