Table of Contents

Method GetPayloadSingle

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetPayloadSingle()

Returns the message payload as a single-precision floating point number.

public float GetPayloadSingle()

Returns

float

A float representing the message payload.

GetPayloadSingle(int)

Returns the element at the specified index of the single-precision floating point array payload.

public float GetPayloadSingle(int index)

Parameters

index int

The zero-based index of the array element to get.

Returns

float

A float representing the element at the specified index of the array payload.