Skip to navigation

holoscan::channel_internal::InlinePayloadReceiveResult

Beta
View as Markdown

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.

#include <holoscan/channel_internal/endpoint_interfaces.hpp>

Member variables

NameTypeDescription
metadataSampleMetadataMetadata carried by the received sample.
payload_sizestd::size_tExact bytes written into the caller’s destination.