Template Function MessageSerialization::deserialize_field(const INTROSPECTION_C_MEMBER *, void *, cbor::RxStream&)
Defined in File MessageSerialization.h
Function Documentation
-
template<typename T>
void MessageSerialization::deserialize_field(const INTROSPECTION_C_MEMBER *member, void *field, cbor::RxStream &stream) Deserialize a C field.
The type support introspection information is used to know if a specific data type is a single item, a sequence or a variable length sequence. Based on this conclusion a specific interpretation is passed to the stream.
- Parameters:
member – Pointer to the member containing type support informations
field – Pointer to the destination memory address of the elementary data
stream – The stream used to receive data