[#BF9005DAF6137A4398193846ECD95ED0FD1FC14E]

Function segments_base:: buffer

Return the referenced character buffer.

Synopsis

            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

assert( url_view( "/path/to/file.txt" ).segments().buffer() == "/path/to/file.txt" );

Complexity

Constant.

Exception Safety

Throws nothing.