Table of Contents

Method GetPayloadUInt16

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetPayloadUInt16()

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

public ushort GetPayloadUInt16()

Returns

ushort

A ushort representing the message payload.

GetPayloadUInt16(int)

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

public ushort GetPayloadUInt16(int index)

Parameters

index int

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

Returns

ushort

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