ChannelFrameBaseTParseBinaryImage Method

Parses the binary image.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.166 -- Release Build+4f9601ce2fc7721cafe5edaeacb540e40faa3f58
public override int ParseBinaryImage(
	byte[] buffer,
	int startIndex,
	int length
)

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

ParseBinaryImage(Byte[], Int32, Int32)
ParseBinaryImage(Byte[], Int32, Int32)

Remarks

This method is overridden to validate the checksum in the ChannelFrameBaseT.

Exceptions

InvalidOperationExceptionInvalid binary image detected - check sum did not match.

See Also