blob: 87196b1695a0c12d5d04f50f025fd1b8f179fdbd (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# 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 ARRAY
TYPE BOOLEAN
INT32 0
TYPE ARRAY
TYPE INT32
INT32 0
TYPE ARRAY
TYPE UINT32
INT32 0
TYPE ARRAY
TYPE DOUBLE
INT32 0
TYPE ARRAY
TYPE BYTE
INT32 0
TYPE ARRAY
TYPE STRING
INT32 0
TYPE DICT
INT32 0
# A dict with empty arrays
TYPE DICT
LENGTH Dict
START_LENGTH Dict
STRING 'boolean_array'
TYPE ARRAY
TYPE BOOLEAN
INT32 0
STRING 'int32_array'
TYPE ARRAY
TYPE INT32
INT32 0
STRING 'uint32_array'
TYPE ARRAY
TYPE UINT32
INT32 0
STRING 'double_array'
TYPE ARRAY
TYPE DOUBLE
INT32 0
STRING 'byte_array'
TYPE ARRAY
TYPE BYTE
INT32 0
STRING 'string_array' }
TYPE ARRAY
TYPE STRING
INT32 0
END_LENGTH Dict
END_LENGTH Body
|