File: sequence_with_structure.yaml

package info (click to toggle)
dtfabric 20251118-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: python: 5,787; sh: 25; makefile: 19
file content (25 lines) | stat: -rw-r--r-- 433 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
# dtFabric format specification.
---
name: int32
type: integer
attributes:
  format: signed
  size: 4
  units: bytes
---
name: vector
type: structure
attributes:
  byte_order: little-endian
members:
- name: number_of_elements
  data_type: int32
- name: values
  type: sequence
  element_data_type: int32
  number_of_elements: vector.number_of_elements
---
name: vectors
type: sequence
element_data_type: vector
number_of_elements: 3