Click or drag to resize

CommandFrameCalculateChecksum Method

Calculates checksum of given buffer.

Namespace: GSF.PhasorProtocols.IEEE1344
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
protected override ushort CalculateChecksum(
	byte[] buffer,
	int offset,
	int length
)
View Source

Parameters

buffer  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

UInt16
Checksum over specified portion of buffer.
See Also