MCPcopy Create free account
hub / github.com/boostorg/asio / data

Function data

include/boost/asio/buffer.hpp:297–304  ·  view source on GitHub ↗

Get a pointer to the beginning of the memory range.

Source from the content-addressed store, hash-verified

295
296 /// Get a pointer to the beginning of the memory range.
297 const void* data() const noexcept
298 {
299#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
300 if (size_ && debug_check_)
301 debug_check_();
302#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
303 return data_;
304 }
305
306 /// Get the size of the memory range.
307 std::size_t size() const noexcept

Callers

nothing calls this directly

Calls 1

bufferFunction · 0.85

Tested by

no test coverage detected