summaryrefslogtreecommitdiff
path: root/test/data/valid-messages/opposite-endian.message
blob: f8975b8b45522f8680df410878d25fcdaca0e87b (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
## Message of opposite endianness, with lots of random fields in it

OPPOSITE_ENDIAN

## VALID_HEADER includes a LENGTH Header and LENGTH Body
VALID_HEADER

FIELD_NAME rply
TYPE UINT32
UINT32 10000

FIELD_NAME name
TYPE STRING
STRING 'org.freedesktop.Foo'

FIELD_NAME unkn
TYPE INT32
INT32 0xfeeb

ALIGN 8
END_LENGTH Header

START_LENGTH Body

TYPE INT32
INT32 89765432
TYPE UINT32
UINT32 0xfffffff
TYPE STRING
STRING 'Hello this is a string'
TYPE DOUBLE
DOUBLE 3.14159

TYPE NIL

END_LENGTH Body