|
DataFrameChecksumIsValid Method
|
Determines if checksum in the buffer is valid.
Namespace: GSF.PhasorProtocols.BPAPDCstreamAssembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax protected override bool ChecksumIsValid(
byte[] buffer,
int startIndex
)
Protected Overrides Function ChecksumIsValid (
buffer As Byte(),
startIndex As Integer
) As Boolean
abstract ChecksumIsValid :
buffer : byte[] *
startIndex : int -> bool
override ChecksumIsValid :
buffer : byte[] *
startIndex : int -> bool
function ChecksumIsValid(buffer, startIndex);
View SourceParameters
- buffer Byte
- Buffer image to validate.
- startIndex Int32
- Start index into buffer to perform checksum.
Return Value
BooleanFlag that determines if checksum over
buffer is valid.
Remarks
We override default implementation since BPA PDCstream implements check sum for frames in little-endian.
See Also