CommonFrameHeaderChecksumIsValid Method
Validates the CRC-CCITT for the specified IEEE C37.118 buffer.
Namespace: Gemstone.PhasorProtocols.IEEEC37_118Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.150 -- Release Build+0627019d4c17e2f915e64987b3f2371651facacb
public static bool ChecksumIsValid(
byte[] buffer,
int startIndex,
int length
)
Gemstone.PhasorProtocols.IEEEC37_118.CommonFrameHeader.ChecksumIsValid = function(buffer, startIndex, length);
- 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.
BooleanA
Boolean indicating whether the checksum is valid.