Table of Contents

Method GetTimestampedPayloadByte

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetTimestampedPayloadByte()

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

public Timestamped<byte> GetTimestampedPayloadByte()

Returns

Timestamped<byte>

A timestamped byte representing the message payload.

Exceptions

InvalidOperationException

The message does not have a timestamped payload.

GetTimestampedPayloadByte(int)

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

public Timestamped<byte> GetTimestampedPayloadByte(int index)

Parameters

index int

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

Returns

Timestamped<byte>

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

Exceptions

InvalidOperationException

The message does not have a timestamped payload.