openPDC Synchrophasor Help
ChecksumIsValid Method (buffer, startIndex)
NamespacesTVA.PhasorProtocolsChannelFrameBase<(Of <(<'T>)>)>ChecksumIsValid(array<Byte>[]()[][], Int32)
Determines if checksum in the buffer is valid.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual bool ChecksumIsValid(
	byte[] buffer,
	int startIndex
)
Protected Overridable Function ChecksumIsValid ( _
	buffer As Byte(), _
	startIndex As Integer _
) As Boolean
protected:
virtual bool ChecksumIsValid(
	array<unsigned char>^ buffer, 
	int startIndex
)
Parameters
buffer (array<Byte>[]()[][])
Buffer image to validate.
startIndex (Int32)
Start index into buffer to perform checksum.
Return Value
Flag that determines if checksum over buffer is valid.
Remarks
Default implementation expects 2-byte big-endian ordered checksum. Override method if protocol checksum implementation is different.

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