ChannelFrameBaseTAppendChecksum Method
Appends checksum onto buffer starting at startIndex.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.183 -- Release Build+673491a1afa103b255aa8db4f2bc6d4e220a63e0
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
)
function AppendChecksum(buffer, startIndex);
Parameters
- buffer Byte
- Buffer image on which to append checksum.
- startIndex Int32
- Index into buffer where checksum should be appended.
Default implementation encodes checksum in big-endian order and expects buffer size large enough to accommodate
2-byte checksum representation. Override method if protocol expectations are different.