Click or drag to resize

DataFrameAppendChecksum Method

Appends checksum onto buffer starting at startIndex.

Namespace: GSF.PhasorProtocols.Macrodyne
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax
protected override void AppendChecksum(
	byte[] buffer,
	int startIndex
)
View Source

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