Construct a protocol packet from a header buffer and a payload buffer

Namespace:  VideoRay.Communication
Assembly:  vrLib (in vrLib.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public Protocol_PRO4_Packet(
	byte[] headerBuffer,
	byte[] payload
)
Visual Basic (Declaration)
Public Sub New ( _
	headerBuffer As Byte(), _
	payload As Byte() _
)
Visual C++
public:
Protocol_PRO4_Packet(
	array<unsigned char>^ headerBuffer, 
	array<unsigned char>^ payload
)

Parameters

headerBuffer
Type: array< System..::.Byte >[]()[]
byte array with header data
payload
Type: array< System..::.Byte >[]()[]
byte array with payload data, the payload checksum should be the last byte in the payload array

See Also