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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.