ChannelFrameBaseTParseBinaryImage Method

Parses the binary image.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.167 -- Release Build+58fd404071566d50b858170723ca955485407f2c
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