Determines if checksum in the buffer is valid.
![](../icons/collapse_all.gif)
Declaration Syntax
protected virtual bool ChecksumIsValid(
byte[] buffer,
int startIndex
)
Protected Overridable Function ChecksumIsValid ( _
buffer As Byte(), _
startIndex As Integer _
) As Boolean
![](../icons/collapse_all.gif)
Parameters
- buffer (array<Byte>[]()[][])
- Buffer image to validate.
- startIndex (Int32)
- Start index into buffer to perform checksum.
![](../icons/collapse_all.gif)
Return Value
Flag that determines if checksum over buffer is valid.
![](../icons/collapse_all.gif)
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