Appends checksum onto buffer starting at startIndex.
Declaration Syntax
protected virtual void AppendChecksum(
byte[] buffer,
int startIndex
)
Protected Overridable Sub AppendChecksum ( _
buffer As Byte(), _
startIndex As Integer _
)
protected:
virtual void AppendChecksum(
array<unsigned char>^ buffer,
int startIndex
)
Parameters
- buffer (array<Byte>[]()[][])
- Buffer image on which to append checksum.
- startIndex (Int32)
- Index into buffer where checksum should be appended.
Remarks
Default implementation encodes checksum in big-endian order and expects buffer size large enough to accomodate
2-byte checksum representation. Override method if protocol expectations are different.
Assembly:
TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0