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

Method drop_data

implementation/message/src/deserializer.cpp:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void deserializer::drop_data(std::size_t _length) {
190 if (position_ + static_cast<std::vector<byte_t>::difference_type>(_length) < data_.end())
191 position_ += static_cast<std::vector<byte_t>::difference_type>(_length);
192 else
193 position_ = data_.end();
194}
195
196void deserializer::reset() {
197 if (buffer_shrink_threshold_) {

Callers 1

TESTFunction · 0.80

Calls 1

endMethod · 0.80

Tested by

no test coverage detected