openPDC Synchrophasor Help
ChecksumIsValid Method (buffer, startIndex)
NamespacesTVA.PhasorProtocols.BpaPdcStreamDataFrameChecksumIsValid(array<Byte>[]()[][], Int32)
Determines if checksum in the buffer is valid.
Declaration Syntax
C#Visual BasicVisual C++
protected override bool ChecksumIsValid(
	byte[] buffer,
	int startIndex
)
Protected Overrides Function ChecksumIsValid ( _
	buffer As Byte(), _
	startIndex As Integer _
) As Boolean
protected:
virtual bool ChecksumIsValid(
	array<unsigned char>^ buffer, 
	int startIndex
) override
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
We override default implementation since BPA PDCstream implements check sum for frames in little-endian.

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