| 27 | } |
| 28 | |
| 29 | void simple_command::deserialize(const std::vector<byte_t>& _buffer, error_e& _error) { |
| 30 | |
| 31 | if (_buffer.size() < COMMAND_HEADER_SIZE) { |
| 32 | |
| 33 | _error = error_e::ERROR_NOT_ENOUGH_BYTES; |
| 34 | return; |
| 35 | } |
| 36 | |
| 37 | command::deserialize(_buffer, _error); |
| 38 | } |
| 39 | |
| 40 | } // namespace protocol |
| 41 | } // namespace vsomeip |
nothing calls this directly
no test coverage detected