[#boost-urls-segments_encoded_base-buffer] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_encoded_base.adoc[segments_encoded_base]::buffer :relfileprefix: ../../../ :mrdocs: Return the referenced character buffer. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_base.hpp#L181[boost/url/segments_encoded_base.hpp]>` [source,cpp,subs="verbatim,replacements,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( "/path/to/file.txt" ).encoded_segments().buffer() == "/path/to/file.txt" ); ---- === Complexity Constant. === Exception Safety Throws nothing. [.small]#Created with https://www.mrdocs.com[MrDocs]#