Compartir a través de


2.2.2.2.1.1.1.2 One-Byte Header Variable Field (VARIABLE1_FIELD)

TheVARIABLE1_FIELD structure is used to encode a variable-length byte-stream that will hold a maximum of 255 bytes. This structure is always situated at the end of an order.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cbData

rgbData (variable)

...

cbData (1 byte): An 8-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.