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

Method look_ahead

implementation/message/src/deserializer.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119bool deserializer::look_ahead(std::size_t _index, uint8_t& _value) const {
120 if (_index > remaining_)
121 return false;
122
123 _value = *(position_ + static_cast<std::vector<byte_t>::difference_type>(_index));
124
125 return true;
126}
127
128bool deserializer::look_ahead(std::size_t _index, uint16_t& _value) const {
129 if (_index + 1 > remaining_)

Callers 3

TESTFunction · 0.80
deserialize_entryMethod · 0.80
deserialize_optionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected