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

Method data

include/boost/asio/buffer.hpp:178–185  ·  view source on GitHub ↗

Get a pointer to the beginning of the memory range.

Source from the content-addressed store, hash-verified

176
177 /// Get a pointer to the beginning of the memory range.
178 void* data() const noexcept
179 {
180#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
181 if (size_ && debug_check_)
182 debug_check_();
183#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
184 return data_;
185 }
186
187 /// Get the size of the memory range.
188 std::size_t size() const noexcept

Callers 12

mutable_bufferMethod · 0.45
const_bufferClass · 0.45
buffer.hppFile · 0.45
operator+Function · 0.45
mutable_buffer bufferFunction · 0.45
const_buffer bufferFunction · 0.45
buffer_copy_1Function · 0.45
copyMethod · 0.45
peek_copyMethod · 0.45
init_buffersMethod · 0.45
connect_to_endpointsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected