Determines if checksum in the buffer is valid.
Declaration Syntax
protected virtual bool ChecksumIsValid(
byte[] buffer,
int startIndex
)
Protected Overridable Function ChecksumIsValid ( _
buffer As Byte(), _
startIndex As Integer _
) As Boolean
Parameters
- buffer (array<Byte>[]()[][])
- Buffer image to validate.
- startIndex (Int32)
- Start index into buffer to perform checksum.
Return Value
Flag that determines if checksum over buffer is valid.
Remarks
Default implementation expects 2-byte big-endian ordered checksum. Override method if protocol checksum
implementation is different.
Assembly:
TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0