CommonFrameHeaderChecksumIsValid Method

Validates the CRC-CCITT for the specified IEEE 1344 buffer.

Definition

Namespace: Gemstone.PhasorProtocols.IEEE1344
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.156 -- Release Build+566b4839b04c9b0049b576901a43e8cdb3b7d9ea
public static bool ChecksumIsValid(
	byte[] buffer,
	int startIndex,
	int length
)

Parameters

buffer  Byte
A Byte array buffer.
startIndex  Int32
An Int32 value as the start index into being reading the value at.
length  Int32
An Int32 value as the number of bytes to read for the checksum.

Return Value

Boolean
A Boolean indicating whether the checksum is valid.

See Also