openPDC Synchrophasor Help
AppendChecksum Method (buffer, startIndex)
NamespacesTVA.PhasorProtocolsChannelFrameBase<(Of <(<'T>)>)>AppendChecksum(array<Byte>[]()[][], Int32)
Appends checksum onto buffer starting at startIndex.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void AppendChecksum(
	byte[] buffer,
	int startIndex
)
Protected Overridable Sub AppendChecksum ( _
	buffer As Byte(), _
	startIndex As Integer _
)
protected:
virtual void AppendChecksum(
	array<unsigned char>^ buffer, 
	int startIndex
)
Parameters
buffer (array<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 accomodate 2-byte checksum representation. Override method if protocol expectations are different.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0