Table of Contents

Method GetTimestampedPayloadInt64

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetTimestampedPayloadInt64()

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

public Timestamped<long> GetTimestampedPayloadInt64()

Returns

Timestamped<long>

A timestamped long representing the message payload.

Exceptions

InvalidOperationException

The message does not have a timestamped payload.

GetTimestampedPayloadInt64(int)

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

public Timestamped<long> GetTimestampedPayloadInt64(int index)

Parameters

index int

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

Returns

Timestamped<long>

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

Exceptions

InvalidOperationException

The message does not have a timestamped payload.