openPDC Synchrophasor Help
CalculateChecksum Method (buffer, offset, length)
NamespacesTVA.PhasorProtocols.BpaPdcStreamConfigurationFrameCalculateChecksum(array<Byte>[]()[][], Int32, Int32)
Calculates checksum of given buffer.
Declaration Syntax
C#Visual BasicVisual C++
protected override ushort CalculateChecksum(
	byte[] buffer,
	int offset,
	int length
)
Protected Overrides Function CalculateChecksum ( _
	buffer As Byte(), _
	offset As Integer, _
	length As Integer _
) As UShort
protected:
virtual unsigned short CalculateChecksum(
	array<unsigned char>^ buffer, 
	int offset, 
	int length
) override
Parameters
buffer (array<Byte>[]()[][])
Buffer image over which to calculate checksum.
offset (Int32)
Start index into buffer to calculate checksum.
length (Int32)
Length of data within buffer to calculate checksum.
Return Value
Checksum over specified portion of buffer.

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