Gemstone PhasorProtocols Library
Show/Hide TOC

# DataFrameParseHeaderImage Method

Parses the binary header image.

## Definition

Namespace: Gemstone.PhasorProtocols.SelCWS
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.181 -- Release Build+69c74c3448bebb1c8c739a856f2a43b00db6d500
C#
View Source Request Example

    protected override int ParseHeaderImage(
    	byte[] buffer,
    	int startIndex,
    	int length
    )

VB
View Source Request Example

    Protected Overrides Function ParseHeaderImage (
    	buffer As Byte(),
    	startIndex As Integer,
    	length As Integer
    ) As Integer

C++
View Source Request Example

    protected:
    virtual int ParseHeaderImage(
    	array<unsigned char>^ buffer,
    	int startIndex,
    	int length
    ) override

JavaScript
View Source Request Example

    function ParseHeaderImage(buffer, startIndex, length);

#### Parameters

buffer Byte
  Buffer containing binary image to parse.
startIndex Int32
  0-based starting index in the buffer to start parsing.
length Int32
  Valid number of bytes within buffer from startIndex.

#### Return Value

Int32
The number of bytes used for initialization in the buffer (i.e., the number of bytes parsed).

## Remarks

This method is typically overridden by a specific protocol implementation.

## See Also

#### Reference

DataFrame Class
Gemstone.PhasorProtocols.SelCWS Namespace