summaryrefslogtreecommitdiff
path: root/test/data/valid-messages/no-padding.message
blob: 0241c3647d80329f84a5b2c652fdfe0ac35605cb (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
## Message with no header padding

## VALID_HEADER includes a LENGTH Header and LENGTH Body
VALID_HEADER method_call

FIELD_NAME ifce
TYPE STRING
STRING 'org.freedesktop.Foo'
FIELD_NAME mebr
TYPE STRING
STRING 'Bar'

## this byte array is filled with zeros to the natural length 
## of the header
FIELD_NAME unkn
TYPE ARRAY
TYPE BYTE
ALIGN 4
LENGTH ThisByteArray
START_LENGTH ThisByteArray
BYTE 1
ALIGN 8 1
END_LENGTH ThisByteArray

END_LENGTH Header
START_LENGTH Body
END_LENGTH Body