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.164 -- Release Build+e526f121ce33f6a601f5d1519047de17ef46ec99
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