Table of Contents

Constructor HarpMessage

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

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 is null.

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 bool

Indicates 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 is null.