Table of Contents

Method GetPayloadByte

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetPayloadByte()

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

public byte GetPayloadByte()

Returns

byte

A byte representing the message payload.

GetPayloadByte(int)

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

public byte GetPayloadByte(int index)

Parameters

index int

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

Returns

byte

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