CommandFrameCalculateChecksum Method

Calculates checksum of given buffer.

Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.155 -- Release Build+e0712c061c586a83529028b96d7dab34b7d8eae9
protected override ushort CalculateChecksum(
	byte[] buffer,
	int offset,
	int length
)

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.

Remarks

The Macrodyne does not use checksums for sending commands.

See Also