Adds asio library and Storage Module
This commit is contained in:
1 parent
79a6ee5779
commit
30439acd43
4869 files changed
+618801
-903
No files matched your search
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::begin</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="next" href="const_buffers_1.html" title="const_buffers_1::const_buffers_1">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../const_buffers_1.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="const_buffers_1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.begin"></a><a class="link" href="begin.html" title="const_buffers_1::begin">const_buffers_1::begin</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.begin"></a>
|
||||
Get a random-access
|
||||
iterator to the first element.
|
||||
</p>
|
||||
<pre class="programlisting">const_iterator begin() const;
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../const_buffers_1.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="const_buffers_1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::const_buffers_1</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="begin.html" title="const_buffers_1::begin">
|
||||
<link rel="next" href="const_buffers_1/overload1.html" title="const_buffers_1::const_buffers_1 (1 of 2 overloads)">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="begin.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="const_buffers_1/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.const_buffers_1"></a><a class="link" href="const_buffers_1.html" title="const_buffers_1::const_buffers_1">const_buffers_1::const_buffers_1</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.const_buffers_1"></a>
|
||||
Construct
|
||||
to represent a given memory range.
|
||||
</p>
|
||||
<pre class="programlisting"><a class="link" href="const_buffers_1/overload1.html" title="const_buffers_1::const_buffers_1 (1 of 2 overloads)">const_buffers_1</a>(
|
||||
const void * data,
|
||||
std::size_t size);
|
||||
<span class="emphasis"><em>» <a class="link" href="const_buffers_1/overload1.html" title="const_buffers_1::const_buffers_1 (1 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
<p>
|
||||
Construct to represent a single non-modifiable buffer.
|
||||
</p>
|
||||
<pre class="programlisting">explicit <a class="link" href="const_buffers_1/overload2.html" title="const_buffers_1::const_buffers_1 (2 of 2 overloads)">const_buffers_1</a>(
|
||||
const const_buffer & b);
|
||||
<span class="emphasis"><em>» <a class="link" href="const_buffers_1/overload2.html" title="const_buffers_1::const_buffers_1 (2 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="begin.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="const_buffers_1/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::const_buffers_1 (1 of 2 overloads)</title>
|
||||
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1::const_buffers_1">
|
||||
<link rel="prev" href="../const_buffers_1.html" title="const_buffers_1::const_buffers_1">
|
||||
<link rel="next" href="overload2.html" title="const_buffers_1::const_buffers_1 (2 of 2 overloads)">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../const_buffers_1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.const_buffers_1.const_buffers_1.overload1"></a><a class="link" href="overload1.html" title="const_buffers_1::const_buffers_1 (1 of 2 overloads)">const_buffers_1::const_buffers_1
|
||||
(1 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Construct to represent a given memory range.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffers_1(
|
||||
const void * data,
|
||||
std::size_t size);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../const_buffers_1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::const_buffers_1 (2 of 2 overloads)</title>
|
||||
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1::const_buffers_1">
|
||||
<link rel="prev" href="overload1.html" title="const_buffers_1::const_buffers_1 (1 of 2 overloads)">
|
||||
<link rel="next" href="../const_iterator.html" title="const_buffers_1::const_iterator">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../const_iterator.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.const_buffers_1.const_buffers_1.overload2"></a><a class="link" href="overload2.html" title="const_buffers_1::const_buffers_1 (2 of 2 overloads)">const_buffers_1::const_buffers_1
|
||||
(2 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
Construct to represent a single non-modifiable buffer.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffers_1(
|
||||
const const_buffer & b);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../const_iterator.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::const_iterator</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="const_buffers_1/overload2.html" title="const_buffers_1::const_buffers_1 (2 of 2 overloads)">
|
||||
<link rel="next" href="data.html" title="const_buffers_1::data">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="const_buffers_1/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="data.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.const_iterator"></a><a class="link" href="const_iterator.html" title="const_buffers_1::const_iterator">const_buffers_1::const_iterator</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.const_iterator"></a>
|
||||
A
|
||||
random-access iterator type that may be used to read elements.
|
||||
</p>
|
||||
<pre class="programlisting">typedef const const_buffer * const_iterator;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.const_buffers_1.const_iterator.h0"></a>
|
||||
<span><a name="asio.reference.const_buffers_1.const_iterator.requirements"></a></span><a class="link" href="const_iterator.html#asio.reference.const_buffers_1.const_iterator.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/buffer.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="const_buffers_1/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="data.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::data</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="const_iterator.html" title="const_buffers_1::const_iterator">
|
||||
<link rel="next" href="end.html" title="const_buffers_1::end">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="const_iterator.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="end.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.data"></a><a class="link" href="data.html" title="const_buffers_1::data">const_buffers_1::data</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<span class="emphasis"><em>Inherited from const_buffer.</em></span>
|
||||
</p>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.data"></a>
|
||||
Get a pointer to
|
||||
the beginning of the memory range.
|
||||
</p>
|
||||
<pre class="programlisting">const void * data() const;
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="const_iterator.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="end.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::end</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="data.html" title="const_buffers_1::data">
|
||||
<link rel="next" href="operator_plus_.html" title="const_buffers_1::operator+">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="data.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_plus_.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.end"></a><a class="link" href="end.html" title="const_buffers_1::end">const_buffers_1::end</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.end"></a>
|
||||
Get a random-access
|
||||
iterator for one past the last element.
|
||||
</p>
|
||||
<pre class="programlisting">const_iterator end() const;
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="data.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_plus_.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::operator+</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="end.html" title="const_buffers_1::end">
|
||||
<link rel="next" href="operator_plus_/overload1.html" title="const_buffers_1::operator+ (1 of 2 overloads)">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="end.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_plus_/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.operator_plus_"></a><a class="link" href="operator_plus_.html" title="const_buffers_1::operator+">const_buffers_1::operator+</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.operator_plus_"></a>
|
||||
Create
|
||||
a new non-modifiable buffer that is offset from the start of another.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffer <a class="link" href="operator_plus_/overload1.html" title="const_buffers_1::operator+ (1 of 2 overloads)">operator+</a>(
|
||||
const const_buffer & b,
|
||||
std::size_t n);
|
||||
<span class="emphasis"><em>» <a class="link" href="operator_plus_/overload1.html" title="const_buffers_1::operator+ (1 of 2 overloads)">more...</a></em></span>
|
||||
|
||||
const_buffer <a class="link" href="operator_plus_/overload2.html" title="const_buffers_1::operator+ (2 of 2 overloads)">operator+</a>(
|
||||
std::size_t n,
|
||||
const const_buffer & b);
|
||||
<span class="emphasis"><em>» <a class="link" href="operator_plus_/overload2.html" title="const_buffers_1::operator+ (2 of 2 overloads)">more...</a></em></span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="end.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_plus_/overload1.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::operator+ (1 of 2 overloads)</title>
|
||||
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../../index.html" title="Asio">
|
||||
<link rel="up" href="../operator_plus_.html" title="const_buffers_1::operator+">
|
||||
<link rel="prev" href="../operator_plus_.html" title="const_buffers_1::operator+">
|
||||
<link rel="next" href="overload2.html" title="const_buffers_1::operator+ (2 of 2 overloads)">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../operator_plus_.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../operator_plus_.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.const_buffers_1.operator_plus_.overload1"></a><a class="link" href="overload1.html" title="const_buffers_1::operator+ (1 of 2 overloads)">const_buffers_1::operator+
|
||||
(1 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
<span class="emphasis"><em>Inherited from const_buffer.</em></span>
|
||||
</p>
|
||||
<p>
|
||||
Create a new non-modifiable buffer that is offset from the start of another.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffer operator+(
|
||||
const const_buffer & b,
|
||||
std::size_t n);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../operator_plus_.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../operator_plus_.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::operator+ (2 of 2 overloads)</title>
|
||||
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../../index.html" title="Asio">
|
||||
<link rel="up" href="../operator_plus_.html" title="const_buffers_1::operator+">
|
||||
<link rel="prev" href="overload1.html" title="const_buffers_1::operator+ (1 of 2 overloads)">
|
||||
<link rel="next" href="../operator_plus__eq_.html" title="const_buffers_1::operator+=">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../operator_plus_.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../operator_plus__eq_.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="asio.reference.const_buffers_1.operator_plus_.overload2"></a><a class="link" href="overload2.html" title="const_buffers_1::operator+ (2 of 2 overloads)">const_buffers_1::operator+
|
||||
(2 of 2 overloads)</a>
|
||||
</h5></div></div></div>
|
||||
<p>
|
||||
<span class="emphasis"><em>Inherited from const_buffer.</em></span>
|
||||
</p>
|
||||
<p>
|
||||
Create a new non-modifiable buffer that is offset from the start of another.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffer operator+(
|
||||
std::size_t n,
|
||||
const const_buffer & b);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../operator_plus_.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../operator_plus__eq_.html"><img src="../../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,48 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::operator+=</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="operator_plus_/overload2.html" title="const_buffers_1::operator+ (2 of 2 overloads)">
|
||||
<link rel="next" href="size.html" title="const_buffers_1::size">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_plus_/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="size.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.operator_plus__eq_"></a><a class="link" href="operator_plus__eq_.html" title="const_buffers_1::operator+=">const_buffers_1::operator+=</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<span class="emphasis"><em>Inherited from const_buffer.</em></span>
|
||||
</p>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.operator_plus__eq_"></a>
|
||||
Move
|
||||
the start of the buffer by the specified number of bytes.
|
||||
</p>
|
||||
<pre class="programlisting">const_buffer & operator+=(
|
||||
std::size_t n);
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_plus_/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="size.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::size</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="operator_plus__eq_.html" title="const_buffers_1::operator+=">
|
||||
<link rel="next" href="value_type.html" title="const_buffers_1::value_type">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_plus__eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="value_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.size"></a><a class="link" href="size.html" title="const_buffers_1::size">const_buffers_1::size</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<span class="emphasis"><em>Inherited from const_buffer.</em></span>
|
||||
</p>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.size"></a>
|
||||
Get the size of the
|
||||
memory range.
|
||||
</p>
|
||||
<pre class="programlisting">std::size_t size() const;
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="operator_plus__eq_.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="value_type.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,187 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>const_buffers_1::value_type</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../../index.html" title="Asio">
|
||||
<link rel="up" href="../const_buffers_1.html" title="const_buffers_1">
|
||||
<link rel="prev" href="size.html" title="const_buffers_1::size">
|
||||
<link rel="next" href="../coroutine.html" title="coroutine">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="size.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../coroutine.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="asio.reference.const_buffers_1.value_type"></a><a class="link" href="value_type.html" title="const_buffers_1::value_type">const_buffers_1::value_type</a>
|
||||
</h4></div></div></div>
|
||||
<p>
|
||||
<a class="indexterm" name="asio.indexterm.const_buffers_1.value_type"></a>
|
||||
The type
|
||||
for each element in the list of buffers.
|
||||
</p>
|
||||
<pre class="programlisting">typedef const_buffer value_type;
|
||||
</pre>
|
||||
<h6>
|
||||
<a name="asio.reference.const_buffers_1.value_type.h0"></a>
|
||||
<span><a name="asio.reference.const_buffers_1.value_type.member_functions"></a></span><a class="link" href="value_type.html#asio.reference.const_buffers_1.value_type.member_functions">Member
|
||||
Functions</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Name
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<a class="link" href="../const_buffer/const_buffer.html" title="const_buffer::const_buffer"><span class="bold"><strong>const_buffer</strong></span></a> <span class="silver">[constructor]</span>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Construct an empty buffer. <br> <span class="silver"> —</span><br> Construct a buffer to
|
||||
represent a given memory range. <br> <span class="silver"> —</span><br> Construct a non-modifiable
|
||||
buffer from a modifiable one.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<a class="link" href="../const_buffer/data.html" title="const_buffer::data"><span class="bold"><strong>data</strong></span></a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Get a pointer to the beginning of the memory range.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<a class="link" href="../const_buffer/operator_plus__eq_.html" title="const_buffer::operator+="><span class="bold"><strong>operator+=</strong></span></a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Move the start of the buffer by the specified number of bytes.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<a class="link" href="../const_buffer/size.html" title="const_buffer::size"><span class="bold"><strong>size</strong></span></a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Get the size of the memory range.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<h6>
|
||||
<a name="asio.reference.const_buffers_1.value_type.h1"></a>
|
||||
<span><a name="asio.reference.const_buffers_1.value_type.related_functions"></a></span><a class="link" href="value_type.html#asio.reference.const_buffers_1.value_type.related_functions">Related
|
||||
Functions</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Name
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<a class="link" href="../const_buffer/operator_plus_.html" title="const_buffer::operator+"><span class="bold"><strong>operator+</strong></span></a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Create a new non-modifiable buffer that is offset from the start
|
||||
of another.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p>
|
||||
The <a class="link" href="../const_buffer.html" title="const_buffer"><code class="computeroutput">const_buffer</code></a>
|
||||
class provides a safe representation of a buffer that cannot be modified.
|
||||
It does not own the underlying data, and so is cheap to copy or assign.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.const_buffers_1.value_type.h2"></a>
|
||||
<span><a name="asio.reference.const_buffers_1.value_type.accessing_buffer_contents"></a></span><a class="link" href="value_type.html#asio.reference.const_buffers_1.value_type.accessing_buffer_contents">Accessing
|
||||
Buffer Contents</a>
|
||||
</h6>
|
||||
<p>
|
||||
The contents of a buffer may be accessed using the <code class="computeroutput">data()</code>
|
||||
and <code class="computeroutput">size()</code> member functions:
|
||||
</p>
|
||||
<pre class="programlisting">asio::const_buffer b1 = ...;
|
||||
std::size_t s1 = b1.size();
|
||||
const unsigned char* p1 = static_cast<const unsigned char*>(b1.data());
|
||||
</pre>
|
||||
<p>
|
||||
The <code class="computeroutput">data()</code> member function permits violations of type safety,
|
||||
so uses of it in application code should be carefully considered.
|
||||
</p>
|
||||
<h6>
|
||||
<a name="asio.reference.const_buffers_1.value_type.h3"></a>
|
||||
<span><a name="asio.reference.const_buffers_1.value_type.requirements"></a></span><a class="link" href="value_type.html#asio.reference.const_buffers_1.value_type.requirements">Requirements</a>
|
||||
</h6>
|
||||
<p>
|
||||
<span class="emphasis"><em>Header: </em></span><code class="literal">asio/buffer.hpp</code>
|
||||
</p>
|
||||
<p>
|
||||
<span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
|
||||
Kohlhoff<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
</p>
|
||||
</div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="size.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../const_buffers_1.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../coroutine.html"><img src="../../../next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user