Appendix A: Marshalling Protocol
216
NetLinx Programming Language Reference Guide
Byte Formats Supported in the Marshaller (Cont.)
WORDSTR Sequence of WORD's whose element count is <= 64K. 0xE6
Length Hi
Length Lo
<WORD Sequence>
.
.
DWORDSTR Sequence of DWORD's whose element count is <= 64K. 0xE7
Length Hi
Length Lo
<DWORD Sequence>
.
.
QWORDSTR Sequence of QWORD's whose element count is <= 64K. 0xE8
Length Hi
Length Lo
<QWORD Sequence>
.
.
LBYTESTR Large sequence of BYTE's whose element count can be >
64K (larger version of BYTESTR).
0xE9
Length MSB
.
.
Length LSB
< BYTE Sequence>
.
.
STRUCT A structure containing one or more fields. Each element
within a structure is self-descriptive and can be any of the
types in this table.
0xEA
<First Struct Element 1>
.
.
END-
STRUCT
Byte indicator for end of structure - not really a data type pre-
fix.
0xEB
ARRAY Array of any one of the types in this table whose element-
count can be > 64K. Each element in an array is selfdescrip-
tive.The type of the first element (byte after LengthLSB) is
the type of the entire array.
0xEC
Length MSB
.
.
Length LSB
<Array Element 1>
.
.
SKIP Byte indicator for space to be skipped in the input and
NULL'ed in the marshalled output. This can be viewed as a
NULL data type prefix.
0xED