Zserio C++ runtime library
1.0.0
Built for Zserio 2.13.0
|
#include <IService.h>
Public Member Functions | |
BasicRawServiceDataView (zserio::Span< const uint8_t > rawData) | |
IBasicReflectableConstPtr< ALLOC > | getReflectable () const override |
Span< const uint8_t > | getData () const override |
![]() | |
virtual | ~IBasicServiceData ()=default |
Service data implementation which only keeps pointer to the raw data buffer.
Must be used with caution only when the proper life-time of the data is ensured.
Definition at line 172 of file IService.h.
|
inlineexplicit |
Constructor from span.
rawData | Span as a pointer to the raw data buffer. |
Definition at line 180 of file IService.h.
|
inlineoverridevirtual |
Gets service data as bytes.
Implements zserio::IBasicServiceData< ALLOC >.
Definition at line 189 of file IService.h.
|
inlineoverridevirtual |
Gets reflectable representing the service data (if available).
Implements zserio::IBasicServiceData< ALLOC >.
Definition at line 184 of file IService.h.