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