Table of Contents

Method GetPayloadInt16

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetPayloadInt16()

Returns the message payload as a single 16-bit signed integer.

public short GetPayloadInt16()

Returns

short

A short representing the message payload.

GetPayloadInt16(int)

Returns the element at the specified index of the 16-bit signed integer array payload.

public short GetPayloadInt16(int index)

Parameters

index int

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

Returns

short

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