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.159 -- Release Build+abd132cce9146ac407095c456214716c4203ac13
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