File: no-padding.message

package info (click to toggle)
dbus 1.2.24-4%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 9,000 kB
  • ctags: 5,571
  • sloc: ansic: 72,564; sh: 10,562; xml: 6,322; makefile: 640; python: 72
file content (22 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Message with no header padding

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

REQUIRED_FIELDS

## this byte array is filled with zeros to the natural length 
## of the header
HEADER_FIELD UNKNOWN
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