|
HeaderFrameCalculateChecksum Method
|
Calculates checksum of given buffer.
Namespace: GSF.PhasorProtocols.IEEEC37_118Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax protected override ushort CalculateChecksum(
byte[] buffer,
int offset,
int length
)
abstract CalculateChecksum :
buffer : byte[] *
offset : int *
length : int -> uint16
override CalculateChecksum :
buffer : byte[] *
offset : int *
length : int -> uint16
function CalculateChecksum(buffer, offset, length);
View SourceParameters
- buffer Byte
- Buffer image over which to calculate checksum.
- offset Int32
- Start index into buffer to calculate checksum.
- length Int32
- Length of data within buffer to calculate checksum.
Return Value
UInt16Checksum over specified portion of
buffer.
See Also