boost::urls::params_base::buffer :: Boost Libraries Documentation

# boost::urls::params_base::buffer

Return the referenced character buffer.

## Synopsis

Declared in `<boost/url/params_base.hpp>`

    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( "?first=John&last=Doe" ).params().buffer() == "?first=John&last=Doe" );

## Complexity

Constant.

## Exception Safety

Throws nothing.

## Return Value

The buffer.

Created with MrDocs