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

## VALID_HEADER includes a LENGTH Header and LENGTH Body
VALID_HEADER

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

## 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