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.163 -- Release Build+97192eed2051f39bed46b5b7b6ce36ee5f3afc99
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