2.2.2.2.1.1.1.3 Two-Byte Header Variable Field (VARIABLE2_FIELD)
The VARIABLE2_FIELD structure is used to encode a variable-length byte-stream that holds a maximum of 32,767 bytes. This structure is always situated at the end of an order.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbData |
rgbData (variable) |
||||||||||||||||||||||||||||||
... |
cbData (2 bytes): A 16-bit, unsigned integer. The number of bytes present in the rgbData field.
rgbData (variable): Variable-length, binary data. The size of this data, in bytes, is given by the cbData field.