2.5.91 LPByteBuf

The LPByteBuf type specifies an array of bytes that is prefixed by a length.

The following packet diagram specifies this type.


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

cbLength

rgbData (variable)

...

cbLength (4 bytes): An unsigned integer that specifies the number of bytes.

rgbData (variable): Binary data that specifies the contents of the array. There MUST be cbLength bytes of data.