Click or drag to resize

ChannelFrameBaseTParseBinaryImage Method

Parses the binary image.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.207-beta
Syntax
public override int ParseBinaryImage(
	byte[] buffer,
	int startIndex,
	int length
)
View Source

Parameters

buffer  Byte
Binary image to parse.
startIndex  Int32
Start index into buffer to begin parsing.
length  Int32
Length of valid data within buffer.

Return Value

Int32
The length of the data that was parsed.

Implements

ISupportBinaryImageParseBinaryImage(Byte, Int32, Int32)
ISupportBinaryImageParseBinaryImage(Byte, Int32, Int32)
Exceptions
ExceptionCondition
InvalidOperationExceptionInvalid binary image detected - check sum did not match.
Remarks
This method is overridden to validate the checksum in the ChannelFrameBaseT.
See Also