ConfigurationFrameAppendChecksum Method

Appends checksum onto buffer starting at startIndex.

Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.147 -- Release Build+f4cca6bc29b9a344db35676d1f49d8207c89dbf5
protected override void AppendChecksum(
	byte[] buffer,
	int startIndex
)

Parameters

buffer  Byte
Buffer image on which to append checksum.
startIndex  Int32
Index into buffer where checksum should be appended.

Remarks

Default implementation encodes checksum in big-endian order and expects buffer size large enough to accommodate 2-byte checksum representation. We override this method since checksum in Macrodyne is a single byte.

See Also