holoscan::channel_internal::InlinePayloadReceiveResult
holoscan::channel_internal::InlinePayloadReceiveResult
Report one received inline payload’s metadata and the exact bytes this operation wrote.
payload_size is transport evidence: it counts only the bytes the completed receive placed in the caller’s destination. SampleMetadata::byte_size is a producer claim carried on the wire and may disagree. A caller that reuses a destination buffer across receives must reject any sample whose payload_size does not cover every byte it later reads; otherwise the unwritten tail still holds bytes retained from an earlier sample.