ChannelFrameBaseTChecksumIsValid Method
Determines if checksum in the buffer is valid.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.153 -- Release Build+ada5559b3b674dd4675f3b08c42ff237a50f01ca
protected virtual bool ChecksumIsValid(
byte[] buffer,
int startIndex
)
Protected Overridable Function ChecksumIsValid (
buffer As Byte(),
startIndex As Integer
) As Boolean
function ChecksumIsValid(buffer, startIndex);
- buffer Byte
- Buffer image to validate.
- startIndex Int32
- Start index into buffer to perform checksum.
BooleanFlag that determines if checksum over
buffer is valid.
Default implementation expects 2-byte big-endian ordered checksum. Override method if protocol checksum
implementation is different.