Table of Contents

Method GetTimestampedPayloadSByte

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetTimestampedPayloadSByte()

Returns the message payload as a single 8-bit signed integer and gets the message timestamp.

public Timestamped<sbyte> GetTimestampedPayloadSByte()

Returns

Timestamped<sbyte>

A timestamped sbyte representing the message payload.

Exceptions

InvalidOperationException

The message does not have a timestamped payload.

GetTimestampedPayloadSByte(int)

Returns the element at the specified index of the 8-bit signed integer array payload and gets the message timestamp.

public Timestamped<sbyte> GetTimestampedPayloadSByte(int index)

Parameters

index int

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

Returns

Timestamped<sbyte>

A timestamped sbyte representing the element at the specified index of the array payload.

Exceptions

InvalidOperationException

The message does not have a timestamped payload.