Gemstone PhasorProtocols Library
Show/Hide TOC

# ConfigurationFrameParseBinaryImage Method

Parses the binary image.

## 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 override int ParseBinaryImage(
    	byte[] buffer,
    	int startIndex,
    	int length
    )

VB
View Source Request Example

    Public Overrides Function ParseBinaryImage (
    	buffer As Byte(),
    	startIndex As Integer,
    	length As Integer
    ) As Integer

C++
View Source Request Example

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

JavaScript
View Source Request Example

    function ParseBinaryImage(buffer, startIndex, length);

#### Parameters

buffer Byte
  Binary image to parse.
startIndex Int32
  Start index into buffer to begin parsing.
length Int32
  Length of valid data within buffer.

#### Return Value

Int32
The length of the data that was parsed.

#### Implements

ParseBinaryImage(Byte[], Int32, Int32)
ParseBinaryImage(Byte[], Int32, Int32)
ParseBinaryImage(Byte[], Int32, Int32)

## Remarks

This method is overridden so INI file can be loaded after binary image has been parsed as well as adjusting CRC length.

## See Also

#### Reference

ConfigurationFrame Class
Gemstone.PhasorProtocols.Macrodyne Namespace