Method GetTimestampedPayloadUInt32
GetTimestampedPayloadUInt32()
Returns the message payload as a single 32-bit unsigned integer and gets the message timestamp.
public Timestamped<uint> GetTimestampedPayloadUInt32()
Returns
- Timestamped<uint>
A timestamped uint representing the message payload.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.
GetTimestampedPayloadUInt32(int)
Returns the element at the specified index of the 32-bit unsigned integer array payload and gets the message timestamp.
public Timestamped<uint> GetTimestampedPayloadUInt32(int index)
Parameters
index
intThe zero-based index of the array element to get.
Returns
- Timestamped<uint>
A timestamped uint representing the element at the specified index of the array payload.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.