File: structure_with_string.yaml

package info (click to toggle)
dtfabric 20200621-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 796 kB
  • sloc: python: 5,238; sh: 138; makefile: 21
file content (24 lines) | stat: -rw-r--r-- 369 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
name: wchar16
type: integer
attributes:
  format: signed
  size: 2
  units: bytes
---
name: uint16
type: integer
attributes:
  format: unsigned
  size: 2
  units: bytes
---
name: utf16_string
type: structure
members:
- name: size
  data_type: uint16
- name: text
  type: string
  encoding: utf-16-le
  element_data_type: wchar16
  elements_data_size: utf16_string.size