Method GetTimestampedPayload
GetTimestampedPayload()
Gets the array segment containing the raw message payload and the timestamp. This method returns a view into the original array without copying any data.
public Timestamped<ArraySegment<byte>> GetTimestampedPayload()
Returns
- Timestamped<ArraySegment<byte>>
A timestamped ArraySegment<T> delimiting the message payload section of the message bytes.
Exceptions
- InvalidOperationException
The message does not have a timestamped payload.