Gemstone PhasorProtocols Library
Show/Hide TOC

# FrequencyValueBaseParseBodyImage Method

Parses the binary body image.

## Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.150 -- Release Build+0627019d4c17e2f915e64987b3f2371651facacb
C#
View Source Request Example

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

VB
View Source Request Example

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

C++
View Source Request Example

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

JavaScript
View Source Request Example

    function ParseBodyImage(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.

## Remarks

The base implementation assumes fixed integer values are represented as 16-bit signed integers and floating point values are represented as 32-bit single-precision floating-point values (i.e., short and float data types respectively).

## See Also

#### Reference

FrequencyValueBase Class
Gemstone.PhasorProtocols Namespace