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
messageBytes
byte[]An array of bytes containing the full binary representation of the Harp message.
Exceptions
- ArgumentNullException
messageBytes
isnull
.
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
updateChecksum
boolIndicates whether to compute and update the checksum byte.
messageBytes
byte[]An array of bytes containing the full binary representation of the Harp message.
Exceptions
- ArgumentNullException
messageBytes
isnull
.