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
|
# Message with lots of different argument types
VALID_HEADER method_call
REQUIRED_FIELDS
ALIGN 8
END_LENGTH Header
START_LENGTH Body
TYPE NIL
TYPE BYTE
BYTE 42
TYPE INT32
INT32 0x12345678
TYPE UINT32
UINT32 0x8765432
TYPE DOUBLE
DOUBLE 3.141592653589
TYPE STRING
STRING 'This is a string'
TYPE ARRAY
TYPE BOOLEAN
BOOLEAN_ARRAY { true, false, false, true, false }
TYPE ARRAY
TYPE INT32
INT32_ARRAY { 1, -2, 3, -4, 5, -6, 7, -8, 9, -10 }
TYPE ARRAY
TYPE UINT32
UINT32_ARRAY { 11, 12, 314, 1911, 57692, 1237, 2834 }
TYPE ARRAY
TYPE DOUBLE
DOUBLE_ARRAY { 0.1, 0.2, 3.1415926, 2.7183, 10.0, 9.99 }
TYPE ARRAY
TYPE STRING
STRING_ARRAY { 'Hello', 'This', 'Is', 'A', 'String', 'Array!' }
TYPE CUSTOM
STRING 'named type'
BYTE_ARRAY { 'b', 'i', 'n', 'a', 'r', 'y', 'd', 'a', 't', 'a' }
TYPE ARRAY
TYPE DICT
LENGTH Array
START_LENGTH Array
LENGTH Dict1
START_LENGTH Dict1
STRING 'key1'
TYPE INT32
INT32 0x12345678
STRING 'key2'
TYPE UINT32
UINT32 0x8765432
END_LENGTH Dict1
LENGTH Dict2
START_LENGTH Dict2
STRING 'key1'
TYPE INT32
INT32 0x12345678
STRING 'key2'
TYPE UINT32
UINT32 0x8765432
END_LENGTH Dict2
END_LENGTH Array
END_LENGTH Body
|