:relfileprefix: ../../../
[#boost-urls-params_base-buffer]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/params_base.adoc[pass:[params_base]]::buffer


Return the referenced character buffer.


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_base.hpp#L175[boost/url/params_base.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/pct_string_view.adoc[pct_string_view]
buffer() const noexcept;
----

== Description


This function returns the character
buffer referenced by the view.
The returned string may contain
percent escapes.

=== Example
[,cpp]
----
assert( url_view( "?first=John&last=Doe" ).params().buffer() == "?first=John&last=Doe" );
----

=== Complexity

Constant.

=== Exception Safety

Throws nothing.








