[#boost-urls-url_view_base-data]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/url_view_base.adoc[url&lowbar;view&lowbar;base]::data
:relfileprefix: ../../../
:mrdocs:

Return a pointer to the url&apos;s character buffer

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view_base.hpp#L241[boost&sol;url&sol;url&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
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&hyphen;terminated&period;

== Complexity
Constant&period;

== Exception Safety
Throws nothing&period;

== Return Value

A pointer to the first character&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
