CommandFrame(Byte, Int32, Int32) Constructor

Creates a new CommandFrame from the given buffer.

Definition

Namespace: Gemstone.PhasorProtocols.IEEE1344
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public CommandFrame(
	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.

Remarks

This constructor is used by a consumer to parse a received IEEE 1344 command frame. Typically command frames are sent to a device. This constructor would used if this code was being used inside of a phasor measurement device.

Exceptions

ArgumentOutOfRangeExceptionlength must be at least 16.

See Also