Gemstone PhasorProtocols Library
Show/Hide TOC

# CommonFrameHeader(Byte, Int32, ProtocolVersion, ConfigurationFrame) Constructor

Creates a new CommonFrameHeader from given buffer.

## Definition

Namespace: Gemstone.PhasorProtocols.Macrodyne
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.153 -- Release Build+ada5559b3b674dd4675f3b08c42ff237a50f01ca
C#
View Source Request Example

    public CommonFrameHeader(
    	byte[] buffer,
    	int startIndex,
    	ProtocolVersion protocolVersion,
    	ConfigurationFrame configurationFrame
    )

VB
View Source Request Example

    Public Sub New (
    	buffer As Byte(),
    	startIndex As Integer,
    	protocolVersion As ProtocolVersion,
    	configurationFrame As ConfigurationFrame
    )

C++
View Source Request Example

    public:
    CommonFrameHeader(
    	array<unsigned char>^ buffer,
    	int startIndex,
    	ProtocolVersion protocolVersion,
    	ConfigurationFrame^ configurationFrame
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.Macrodyne.CommonFrameHeader = function(buffer, startIndex, protocolVersion, configurationFrame);

#### Parameters

buffer Byte
  Buffer that contains data to parse.
startIndex Int32
  Start index into buffer where valid data begins.
protocolVersion ProtocolVersion
  Macrodyne protocol to use for parsing.
configurationFrame ConfigurationFrame
  Configuration frame, if available.

## See Also

#### Reference

CommonFrameHeader Class
CommonFrameHeader Overload
Gemstone.PhasorProtocols.Macrodyne Namespace