Get a pointer to the beginning of the memory range.
| 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 |
no outgoing calls
no test coverage detected