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

Method buffer_as_view

implementation/logger/src/message.cpp:269–271  ·  view source on GitHub ↗

Get a view directly on the internal buffer. Note: This is NOT null-terminated.

Source from the content-addressed store, hash-verified

267
268// Get a view directly on the internal buffer. Note: This is NOT null-terminated.
269std::string_view message::buffer_as_view() const {
270 return std::string_view{buffer_.data_.data(), buffer_.data_.size()};
271}
272
273// --------------------------------------------------------------------------------------------------
274

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected