MCPcopy Create free account
hub / github.com/COVESA/vsomeip / deserialize

Method deserialize

implementation/message/src/message_impl.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool message_impl::deserialize(deserializer* _from) {
37 payload_ = runtime::get()->create_payload();
38 bool is_successful = header_.deserialize(_from);
39 if (is_successful) {
40 payload_->set_capacity(header_.length_ - VSOMEIP_SOMEIP_HEADER_SIZE);
41 is_successful = payload_->deserialize(_from);
42 }
43 return is_successful;
44}
45
46uint8_t message_impl::get_check_result() const {
47 return check_result_;

Callers

nothing calls this directly

Calls 2

create_payloadMethod · 0.80
set_capacityMethod · 0.80

Tested by

no test coverage detected