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.160 -- Release Build+513330b2be7fdb9c9f4bfe60fd4f0a256321d484
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