Method GetTimestampedPayloadArray
GetTimestampedPayloadArray<TArray>()
Returns the message payload as an array of non-pointer value types and gets the message timestamp. The size of the type should be a multiple of the total size of the payload.
public Timestamped<TArray[]> GetTimestampedPayloadArray<TArray>() where TArray : unmanaged
Returns
- Timestamped<TArray[]>
A timestamped array containing a copy of the message payload data.
Type Parameters
TArray
The type of the non-pointer values in the array.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.