|
CommandFrame(Byte, Int32, Int32) Constructor
|
Namespace: GSF.PhasorProtocols.IEEE1344Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.248-beta
Syntaxpublic CommandFrame(
byte[] buffer,
int startIndex,
int length
)
Public Sub New (
buffer As Byte(),
startIndex As Integer,
length As Integer
)
public:
CommandFrame(
array<unsigned char>^ buffer,
int startIndex,
int length
)
new :
buffer : byte[] *
startIndex : int *
length : int -> CommandFrame
GSF.PhasorProtocols.IEEE1344.CommandFrame = function(buffer, startIndex, length);
View SourceParameters
- buffer Byte
- Binary image to parse.
- startIndex Int32
- Start index into buffer to begin parsing.
- length Int32
- Length of valid data within buffer.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException | length must be at least 16. |
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.
See Also