Return a pointer to the url’s character buffer

Synopsis

Declared in header <boost/url/url_view_base.hpp>

char const*
data() const noexcept;

Description

This function returns a pointer to the first character of the url, which is not guaranteed to be null-terminated.

Complexity

Constant.

Exception Safety

Throws nothing.