blob: 36f3fc3d24f01f8e5ac9828be7fe2b0488603e1e (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Empty arrays and strings
VALID_HEADER
FIELD_NAME name
TYPE STRING
STRING 'org.freedesktop.Foo'
END_LENGTH Header
ALIGN 8
START_LENGTH Body
TYPE STRING
INT32 0
BYTE 0 # Strings need to be NULL-terminated
TYPE BOOLEAN_ARRAY
INT32 0
TYPE INT32_ARRAY
INT32 0
TYPE UINT32_ARRAY
INT32 0
TYPE DOUBLE_ARRAY
INT32 0
TYPE BYTE_ARRAY
INT32 0
TYPE STRING_ARRAY
INT32 0
TYPE DICT
INT32 0
# A dict with empty arrays
TYPE DICT
STRING_ARRAY {'boolean_array', 'int32_array' , 'uint32_array', 'double_array', 'byte_array', 'string_array' }
TYPE BOOLEAN_ARRAY
INT32 0
TYPE INT32_ARRAY
INT32 0
TYPE UINT32_ARRAY
INT32 0
TYPE DOUBLE_ARRAY
INT32 0
TYPE BYTE_ARRAY
INT32 0
TYPE STRING_ARRAY
INT32 0
END_LENGTH Body
|