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.178 -- Release Build+f2b94d09f81a61f5d7415b9db3fd60b6ae3f7e12
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