DataFrameChecksumIsValid Method

Determines if checksum in the buffer is valid.

Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
protected override bool ChecksumIsValid(
	byte[] buffer,
	int startIndex
)

Parameters

buffer  Byte
Buffer image to validate.
startIndex  Int32
Start index into buffer to perform checksum.

Return Value

Boolean
Flag that determines if checksum over buffer is valid.

Remarks

Default implementation expects 2-byte big-endian ordered checksum. So we override method since checksum in Macrodyne is a single byte.

See Also