|
CommonFrameHeaderChecksumIsValid Method
|
Validates the CRC-CCITT for the specified IEEE 1344 buffer.
Namespace: GSF.PhasorProtocols.IEEE1344Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax public static bool ChecksumIsValid(
byte[] buffer,
int startIndex,
int length
)
static member ChecksumIsValid :
buffer : byte[] *
startIndex : int *
length : int -> bool
GSF.PhasorProtocols.IEEE1344.CommonFrameHeader.ChecksumIsValid = function(buffer, startIndex, length);
View SourceParameters
- 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
BooleanA
Boolean indicating whether the checksum is valid.
See Also