Constructor HarpMessage
HarpMessage(params byte[])
Initializes a new instance of the HarpMessage class from the full binary representation of the Harp message.
public HarpMessage(params byte[] messageBytes)
Parameters
messageBytesbyte[]An array of bytes containing the full binary representation of the Harp message.
Exceptions
- ArgumentNullException
messageBytesisnull.
HarpMessage(bool, params byte[])
Initializes a new instance of the HarpMessage class from the full binary representation of the Harp message, and optionally updates the value of the checksum byte.
public HarpMessage(bool updateChecksum, params byte[] messageBytes)
Parameters
updateChecksumboolIndicates whether to compute and update the checksum byte.
messageBytesbyte[]An array of bytes containing the full binary representation of the Harp message.
Exceptions
- ArgumentNullException
messageBytesisnull.