diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:57:26 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:57:26 -0700 |
commit | 1a78a62555be32868418fe52f8e330c9d0f95d5a (patch) | |
tree | d3765a80e7d3b9640ec2e930743630cd6b9fce2b /doc/html/boost_asio/reference/buffer_copy | |
download | boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.gz boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.bz2 boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.zip |
Imported Upstream version 1.49.0upstream/1.49.0
Diffstat (limited to 'doc/html/boost_asio/reference/buffer_copy')
30 files changed, 2959 insertions, 0 deletions
diff --git a/doc/html/boost_asio/reference/buffer_copy/overload1.html b/doc/html/boost_asio/reference/buffer_copy/overload1.html new file mode 100755 index 0000000000..188172b450 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload1.html @@ -0,0 +1,93 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (1 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="../buffer_copy.html" title="buffer_copy"> +<link rel="next" href="overload2.html" title="buffer_copy (2 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../buffer_copy.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload1"></a><a class="link" href="overload1.html" title="buffer_copy (1 of 30 overloads)">buffer_copy + (1 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload1.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload1.parameters"></a></span><a class="link" href="overload1.html#boost_asio.reference.buffer_copy.overload1.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload1.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload1.return_value"></a></span><a class="link" href="overload1.html#boost_asio.reference.buffer_copy.overload1.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload1.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload1.remarks"></a></span><a class="link" href="overload1.html#boost_asio.reference.buffer_copy.overload1.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="../buffer_copy.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload10.html b/doc/html/boost_asio/reference/buffer_copy/overload10.html new file mode 100755 index 0000000000..eea558fd61 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload10.html @@ -0,0 +1,95 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (10 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload9.html" title="buffer_copy (9 of 30 overloads)"> +<link rel="next" href="overload11.html" title="buffer_copy (11 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload9.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload11.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload10"></a><a class="link" href="overload10.html" title="buffer_copy (10 of 30 overloads)">buffer_copy + (10 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer sequence to a target buffer. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload10.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload10.parameters"></a></span><a class="link" href="overload10.html#boost_asio.reference.buffer_copy.overload10.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload10.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload10.return_value"></a></span><a class="link" href="overload10.html#boost_asio.reference.buffer_copy.overload10.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload10.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload10.remarks"></a></span><a class="link" href="overload10.html#boost_asio.reference.buffer_copy.overload10.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload9.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload11.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload11.html b/doc/html/boost_asio/reference/buffer_copy/overload11.html new file mode 100755 index 0000000000..31a0dd8e45 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload11.html @@ -0,0 +1,95 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (11 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload10.html" title="buffer_copy (10 of 30 overloads)"> +<link rel="next" href="overload12.html" title="buffer_copy (12 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload10.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload12.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload11"></a><a class="link" href="overload11.html" title="buffer_copy (11 of 30 overloads)">buffer_copy + (11 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload11.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload11.parameters"></a></span><a class="link" href="overload11.html#boost_asio.reference.buffer_copy.overload11.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload11.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload11.return_value"></a></span><a class="link" href="overload11.html#boost_asio.reference.buffer_copy.overload11.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload11.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload11.remarks"></a></span><a class="link" href="overload11.html#boost_asio.reference.buffer_copy.overload11.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload10.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload12.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload12.html b/doc/html/boost_asio/reference/buffer_copy/overload12.html new file mode 100755 index 0000000000..861159561d --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload12.html @@ -0,0 +1,95 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (12 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload11.html" title="buffer_copy (11 of 30 overloads)"> +<link rel="next" href="overload13.html" title="buffer_copy (13 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload11.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload13.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload12"></a><a class="link" href="overload12.html" title="buffer_copy (12 of 30 overloads)">buffer_copy + (12 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload12.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload12.parameters"></a></span><a class="link" href="overload12.html#boost_asio.reference.buffer_copy.overload12.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload12.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload12.return_value"></a></span><a class="link" href="overload12.html#boost_asio.reference.buffer_copy.overload12.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload12.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload12.remarks"></a></span><a class="link" href="overload12.html#boost_asio.reference.buffer_copy.overload12.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload11.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload13.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload13.html b/doc/html/boost_asio/reference/buffer_copy/overload13.html new file mode 100755 index 0000000000..87b3e50d57 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload13.html @@ -0,0 +1,96 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (13 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload12.html" title="buffer_copy (12 of 30 overloads)"> +<link rel="next" href="overload14.html" title="buffer_copy (14 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload12.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload14.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload13"></a><a class="link" href="overload13.html" title="buffer_copy (13 of 30 overloads)">buffer_copy + (13 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload13.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload13.parameters"></a></span><a class="link" href="overload13.html#boost_asio.reference.buffer_copy.overload13.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload13.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload13.return_value"></a></span><a class="link" href="overload13.html#boost_asio.reference.buffer_copy.overload13.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload13.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload13.remarks"></a></span><a class="link" href="overload13.html#boost_asio.reference.buffer_copy.overload13.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload12.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload14.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload14.html b/doc/html/boost_asio/reference/buffer_copy/overload14.html new file mode 100755 index 0000000000..17bb168b00 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload14.html @@ -0,0 +1,96 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (14 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload13.html" title="buffer_copy (13 of 30 overloads)"> +<link rel="next" href="overload15.html" title="buffer_copy (15 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload13.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload15.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload14"></a><a class="link" href="overload14.html" title="buffer_copy (14 of 30 overloads)">buffer_copy + (14 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload14.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload14.parameters"></a></span><a class="link" href="overload14.html#boost_asio.reference.buffer_copy.overload14.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload14.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload14.return_value"></a></span><a class="link" href="overload14.html#boost_asio.reference.buffer_copy.overload14.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload14.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload14.remarks"></a></span><a class="link" href="overload14.html#boost_asio.reference.buffer_copy.overload14.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload13.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload15.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload15.html b/doc/html/boost_asio/reference/buffer_copy/overload15.html new file mode 100755 index 0000000000..8083905d34 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload15.html @@ -0,0 +1,96 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (15 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload14.html" title="buffer_copy (14 of 30 overloads)"> +<link rel="next" href="overload16.html" title="buffer_copy (16 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload14.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload16.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload15"></a><a class="link" href="overload15.html" title="buffer_copy (15 of 30 overloads)">buffer_copy + (15 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer sequence to a target buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">,</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload15.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload15.parameters"></a></span><a class="link" href="overload15.html#boost_asio.reference.buffer_copy.overload15.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload15.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload15.return_value"></a></span><a class="link" href="overload15.html#boost_asio.reference.buffer_copy.overload15.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload15.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload15.remarks"></a></span><a class="link" href="overload15.html#boost_asio.reference.buffer_copy.overload15.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload14.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload16.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload16.html b/doc/html/boost_asio/reference/buffer_copy/overload16.html new file mode 100755 index 0000000000..094c4e43dd --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload16.html @@ -0,0 +1,101 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (16 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload15.html" title="buffer_copy (15 of 30 overloads)"> +<link rel="next" href="overload17.html" title="buffer_copy (17 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload15.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload17.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload16"></a><a class="link" href="overload16.html" title="buffer_copy (16 of 30 overloads)">buffer_copy + (16 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload16.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload16.parameters"></a></span><a class="link" href="overload16.html#boost_asio.reference.buffer_copy.overload16.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload16.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload16.return_value"></a></span><a class="link" href="overload16.html#boost_asio.reference.buffer_copy.overload16.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload16.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload16.remarks"></a></span><a class="link" href="overload16.html#boost_asio.reference.buffer_copy.overload16.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload15.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload17.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload17.html b/doc/html/boost_asio/reference/buffer_copy/overload17.html new file mode 100755 index 0000000000..51eb4f3d28 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload17.html @@ -0,0 +1,101 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (17 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload16.html" title="buffer_copy (16 of 30 overloads)"> +<link rel="next" href="overload18.html" title="buffer_copy (18 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload16.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload18.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload17"></a><a class="link" href="overload17.html" title="buffer_copy (17 of 30 overloads)">buffer_copy + (17 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload17.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload17.parameters"></a></span><a class="link" href="overload17.html#boost_asio.reference.buffer_copy.overload17.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload17.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload17.return_value"></a></span><a class="link" href="overload17.html#boost_asio.reference.buffer_copy.overload17.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload17.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload17.remarks"></a></span><a class="link" href="overload17.html#boost_asio.reference.buffer_copy.overload17.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload16.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload18.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload18.html b/doc/html/boost_asio/reference/buffer_copy/overload18.html new file mode 100755 index 0000000000..ee6795ffe4 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload18.html @@ -0,0 +1,102 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (18 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload17.html" title="buffer_copy (17 of 30 overloads)"> +<link rel="next" href="overload19.html" title="buffer_copy (19 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload17.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload19.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload18"></a><a class="link" href="overload18.html" title="buffer_copy (18 of 30 overloads)">buffer_copy + (18 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload18.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload18.parameters"></a></span><a class="link" href="overload18.html#boost_asio.reference.buffer_copy.overload18.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload18.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload18.return_value"></a></span><a class="link" href="overload18.html#boost_asio.reference.buffer_copy.overload18.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload18.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload18.remarks"></a></span><a class="link" href="overload18.html#boost_asio.reference.buffer_copy.overload18.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload17.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload19.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload19.html b/doc/html/boost_asio/reference/buffer_copy/overload19.html new file mode 100755 index 0000000000..79778bd4b9 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload19.html @@ -0,0 +1,102 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (19 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload18.html" title="buffer_copy (18 of 30 overloads)"> +<link rel="next" href="overload20.html" title="buffer_copy (20 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload18.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload20.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload19"></a><a class="link" href="overload19.html" title="buffer_copy (19 of 30 overloads)">buffer_copy + (19 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload19.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload19.parameters"></a></span><a class="link" href="overload19.html#boost_asio.reference.buffer_copy.overload19.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload19.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload19.return_value"></a></span><a class="link" href="overload19.html#boost_asio.reference.buffer_copy.overload19.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload19.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload19.remarks"></a></span><a class="link" href="overload19.html#boost_asio.reference.buffer_copy.overload19.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload18.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload20.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload2.html b/doc/html/boost_asio/reference/buffer_copy/overload2.html new file mode 100755 index 0000000000..0783c061e8 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload2.html @@ -0,0 +1,93 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (2 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload1.html" title="buffer_copy (1 of 30 overloads)"> +<link rel="next" href="overload3.html" title="buffer_copy (3 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload1.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload2"></a><a class="link" href="overload2.html" title="buffer_copy (2 of 30 overloads)">buffer_copy + (2 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload2.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.buffer_copy.overload2.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload2.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload2.return_value"></a></span><a class="link" href="overload2.html#boost_asio.reference.buffer_copy.overload2.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload2.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload2.remarks"></a></span><a class="link" href="overload2.html#boost_asio.reference.buffer_copy.overload2.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload20.html b/doc/html/boost_asio/reference/buffer_copy/overload20.html new file mode 100755 index 0000000000..9261a2a143 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload20.html @@ -0,0 +1,104 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (20 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload19.html" title="buffer_copy (19 of 30 overloads)"> +<link rel="next" href="overload21.html" title="buffer_copy (21 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload19.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload21.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload20"></a><a class="link" href="overload20.html" title="buffer_copy (20 of 30 overloads)">buffer_copy + (20 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer sequence to a target + buffer. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload20.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload20.parameters"></a></span><a class="link" href="overload20.html#boost_asio.reference.buffer_copy.overload20.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload20.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload20.return_value"></a></span><a class="link" href="overload20.html#boost_asio.reference.buffer_copy.overload20.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload20.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload20.remarks"></a></span><a class="link" href="overload20.html#boost_asio.reference.buffer_copy.overload20.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload19.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload21.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload21.html b/doc/html/boost_asio/reference/buffer_copy/overload21.html new file mode 100755 index 0000000000..f2cbec4c34 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload21.html @@ -0,0 +1,101 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (21 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload20.html" title="buffer_copy (20 of 30 overloads)"> +<link rel="next" href="overload22.html" title="buffer_copy (22 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload20.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload22.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload21"></a><a class="link" href="overload21.html" title="buffer_copy (21 of 30 overloads)">buffer_copy + (21 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload21.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload21.parameters"></a></span><a class="link" href="overload21.html#boost_asio.reference.buffer_copy.overload21.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload21.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload21.return_value"></a></span><a class="link" href="overload21.html#boost_asio.reference.buffer_copy.overload21.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload21.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload21.remarks"></a></span><a class="link" href="overload21.html#boost_asio.reference.buffer_copy.overload21.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload20.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload22.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload22.html b/doc/html/boost_asio/reference/buffer_copy/overload22.html new file mode 100755 index 0000000000..3673ed96fd --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload22.html @@ -0,0 +1,101 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (22 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload21.html" title="buffer_copy (21 of 30 overloads)"> +<link rel="next" href="overload23.html" title="buffer_copy (23 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload21.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload23.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload22"></a><a class="link" href="overload22.html" title="buffer_copy (22 of 30 overloads)">buffer_copy + (22 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload22.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload22.parameters"></a></span><a class="link" href="overload22.html#boost_asio.reference.buffer_copy.overload22.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload22.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload22.return_value"></a></span><a class="link" href="overload22.html#boost_asio.reference.buffer_copy.overload22.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload22.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload22.remarks"></a></span><a class="link" href="overload22.html#boost_asio.reference.buffer_copy.overload22.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload21.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload23.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload23.html b/doc/html/boost_asio/reference/buffer_copy/overload23.html new file mode 100755 index 0000000000..c2f52a92fc --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload23.html @@ -0,0 +1,102 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (23 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload22.html" title="buffer_copy (22 of 30 overloads)"> +<link rel="next" href="overload24.html" title="buffer_copy (24 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload22.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload24.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload23"></a><a class="link" href="overload23.html" title="buffer_copy (23 of 30 overloads)">buffer_copy + (23 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload23.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload23.parameters"></a></span><a class="link" href="overload23.html#boost_asio.reference.buffer_copy.overload23.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload23.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload23.return_value"></a></span><a class="link" href="overload23.html#boost_asio.reference.buffer_copy.overload23.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload23.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload23.remarks"></a></span><a class="link" href="overload23.html#boost_asio.reference.buffer_copy.overload23.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload22.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload24.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload24.html b/doc/html/boost_asio/reference/buffer_copy/overload24.html new file mode 100755 index 0000000000..385e87dac7 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload24.html @@ -0,0 +1,102 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (24 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload23.html" title="buffer_copy (23 of 30 overloads)"> +<link rel="next" href="overload25.html" title="buffer_copy (25 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload23.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload25.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload24"></a><a class="link" href="overload24.html" title="buffer_copy (24 of 30 overloads)">buffer_copy + (24 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload24.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload24.parameters"></a></span><a class="link" href="overload24.html#boost_asio.reference.buffer_copy.overload24.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload24.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload24.return_value"></a></span><a class="link" href="overload24.html#boost_asio.reference.buffer_copy.overload24.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload24.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload24.remarks"></a></span><a class="link" href="overload24.html#boost_asio.reference.buffer_copy.overload24.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload23.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload25.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload25.html b/doc/html/boost_asio/reference/buffer_copy/overload25.html new file mode 100755 index 0000000000..26e9f268e3 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload25.html @@ -0,0 +1,104 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (25 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload24.html" title="buffer_copy (24 of 30 overloads)"> +<link rel="next" href="overload26.html" title="buffer_copy (26 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload24.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload26.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload25"></a><a class="link" href="overload25.html" title="buffer_copy (25 of 30 overloads)">buffer_copy + (25 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer sequence to a target + buffer. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload25.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload25.parameters"></a></span><a class="link" href="overload25.html#boost_asio.reference.buffer_copy.overload25.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload25.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload25.return_value"></a></span><a class="link" href="overload25.html#boost_asio.reference.buffer_copy.overload25.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload25.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload25.remarks"></a></span><a class="link" href="overload25.html#boost_asio.reference.buffer_copy.overload25.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload24.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload26.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload26.html b/doc/html/boost_asio/reference/buffer_copy/overload26.html new file mode 100755 index 0000000000..aa4fa9c8fb --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload26.html @@ -0,0 +1,104 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (26 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload25.html" title="buffer_copy (25 of 30 overloads)"> +<link rel="next" href="overload27.html" title="buffer_copy (27 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload25.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload27.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload26"></a><a class="link" href="overload26.html" title="buffer_copy (26 of 30 overloads)">buffer_copy + (26 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer + sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload26.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload26.parameters"></a></span><a class="link" href="overload26.html#boost_asio.reference.buffer_copy.overload26.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload26.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload26.return_value"></a></span><a class="link" href="overload26.html#boost_asio.reference.buffer_copy.overload26.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload26.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload26.remarks"></a></span><a class="link" href="overload26.html#boost_asio.reference.buffer_copy.overload26.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload25.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload27.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload27.html b/doc/html/boost_asio/reference/buffer_copy/overload27.html new file mode 100755 index 0000000000..8dceb23eb1 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload27.html @@ -0,0 +1,104 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (27 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload26.html" title="buffer_copy (26 of 30 overloads)"> +<link rel="next" href="overload28.html" title="buffer_copy (28 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload26.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload28.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload27"></a><a class="link" href="overload27.html" title="buffer_copy (27 of 30 overloads)">buffer_copy + (27 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer + sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload27.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload27.parameters"></a></span><a class="link" href="overload27.html#boost_asio.reference.buffer_copy.overload27.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload27.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload27.return_value"></a></span><a class="link" href="overload27.html#boost_asio.reference.buffer_copy.overload27.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload27.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload27.remarks"></a></span><a class="link" href="overload27.html#boost_asio.reference.buffer_copy.overload27.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload26.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload28.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload28.html b/doc/html/boost_asio/reference/buffer_copy/overload28.html new file mode 100755 index 0000000000..d1b1b3d793 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload28.html @@ -0,0 +1,105 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (28 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload27.html" title="buffer_copy (27 of 30 overloads)"> +<link rel="next" href="overload29.html" title="buffer_copy (29 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload27.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload29.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload28"></a><a class="link" href="overload28.html" title="buffer_copy (28 of 30 overloads)">buffer_copy + (28 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer + sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload28.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload28.parameters"></a></span><a class="link" href="overload28.html#boost_asio.reference.buffer_copy.overload28.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload28.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload28.return_value"></a></span><a class="link" href="overload28.html#boost_asio.reference.buffer_copy.overload28.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload28.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload28.remarks"></a></span><a class="link" href="overload28.html#boost_asio.reference.buffer_copy.overload28.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload27.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload29.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload29.html b/doc/html/boost_asio/reference/buffer_copy/overload29.html new file mode 100755 index 0000000000..8d7891db6a --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload29.html @@ -0,0 +1,105 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (29 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload28.html" title="buffer_copy (28 of 30 overloads)"> +<link rel="next" href="overload30.html" title="buffer_copy (30 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload28.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload30.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload29"></a><a class="link" href="overload29.html" title="buffer_copy (29 of 30 overloads)">buffer_copy + (29 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer to a target buffer + sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload29.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload29.parameters"></a></span><a class="link" href="overload29.html#boost_asio.reference.buffer_copy.overload29.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload29.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload29.return_value"></a></span><a class="link" href="overload29.html#boost_asio.reference.buffer_copy.overload29.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload29.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload29.remarks"></a></span><a class="link" href="overload29.html#boost_asio.reference.buffer_copy.overload29.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload28.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload30.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload3.html b/doc/html/boost_asio/reference/buffer_copy/overload3.html new file mode 100755 index 0000000000..5589fdc848 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload3.html @@ -0,0 +1,94 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (3 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload2.html" title="buffer_copy (2 of 30 overloads)"> +<link rel="next" href="overload4.html" title="buffer_copy (4 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload3"></a><a class="link" href="overload3.html" title="buffer_copy (3 of 30 overloads)">buffer_copy + (3 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload3.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload3.parameters"></a></span><a class="link" href="overload3.html#boost_asio.reference.buffer_copy.overload3.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload3.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload3.return_value"></a></span><a class="link" href="overload3.html#boost_asio.reference.buffer_copy.overload3.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload3.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload3.remarks"></a></span><a class="link" href="overload3.html#boost_asio.reference.buffer_copy.overload3.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload4.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload30.html b/doc/html/boost_asio/reference/buffer_copy/overload30.html new file mode 100755 index 0000000000..bf33b5acb7 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload30.html @@ -0,0 +1,105 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (30 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload29.html" title="buffer_copy (29 of 30 overloads)"> +<link rel="next" href="../buffer_size.html" title="buffer_size"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload29.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../buffer_size.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload30"></a><a class="link" href="overload30.html" title="buffer_copy (30 of 30 overloads)">buffer_copy + (30 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies a limited number of bytes from a source buffer sequence to a target + buffer sequence. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">,</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">,</span> + <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_bytes_to_copy</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload30.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload30.parameters"></a></span><a class="link" href="overload30.html#boost_asio.reference.buffer_copy.overload30.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer sequence representing the memory regions to which + the bytes will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +<dt><span class="term">max_bytes_to_copy</span></dt> +<dd><p> + The maximum number of bytes to be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload30.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload30.return_value"></a></span><a class="link" href="overload30.html#boost_asio.reference.buffer_copy.overload30.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload30.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload30.remarks"></a></span><a class="link" href="overload30.html#boost_asio.reference.buffer_copy.overload30.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">max_bytes_to_copy</span></code> + </li> +</ul></div> +</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-2012 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="overload29.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../buffer_size.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload4.html b/doc/html/boost_asio/reference/buffer_copy/overload4.html new file mode 100755 index 0000000000..12fb43c612 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload4.html @@ -0,0 +1,94 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (4 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload3.html" title="buffer_copy (3 of 30 overloads)"> +<link rel="next" href="overload5.html" title="buffer_copy (5 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload4"></a><a class="link" href="overload4.html" title="buffer_copy (4 of 30 overloads)">buffer_copy + (4 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload4.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload4.parameters"></a></span><a class="link" href="overload4.html#boost_asio.reference.buffer_copy.overload4.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload4.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload4.return_value"></a></span><a class="link" href="overload4.html#boost_asio.reference.buffer_copy.overload4.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload4.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload4.remarks"></a></span><a class="link" href="overload4.html#boost_asio.reference.buffer_copy.overload4.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload3.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload5.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload5.html b/doc/html/boost_asio/reference/buffer_copy/overload5.html new file mode 100755 index 0000000000..d5a9f3368c --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload5.html @@ -0,0 +1,95 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (5 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload4.html" title="buffer_copy (4 of 30 overloads)"> +<link rel="next" href="overload6.html" title="buffer_copy (6 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload4.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload5"></a><a class="link" href="overload5.html" title="buffer_copy (5 of 30 overloads)">buffer_copy + (5 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer sequence to a target buffer. + </p> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <a class="link" href="../ConstBufferSequence.html" title="Constant buffer sequence requirements">ConstBufferSequence</a><span class="special">></span> +<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">ConstBufferSequence</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload5.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload5.parameters"></a></span><a class="link" href="overload5.html#boost_asio.reference.buffer_copy.overload5.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer sequence representing the memory regions + from which the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload5.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload5.return_value"></a></span><a class="link" href="overload5.html#boost_asio.reference.buffer_copy.overload5.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload5.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload5.remarks"></a></span><a class="link" href="overload5.html#boost_asio.reference.buffer_copy.overload5.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload4.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload6.html b/doc/html/boost_asio/reference/buffer_copy/overload6.html new file mode 100755 index 0000000000..bcabf71d3d --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload6.html @@ -0,0 +1,93 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (6 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload5.html" title="buffer_copy (5 of 30 overloads)"> +<link rel="next" href="overload7.html" title="buffer_copy (7 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload5.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload7.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload6"></a><a class="link" href="overload6.html" title="buffer_copy (6 of 30 overloads)">buffer_copy + (6 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload6.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload6.parameters"></a></span><a class="link" href="overload6.html#boost_asio.reference.buffer_copy.overload6.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload6.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload6.return_value"></a></span><a class="link" href="overload6.html#boost_asio.reference.buffer_copy.overload6.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload6.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload6.remarks"></a></span><a class="link" href="overload6.html#boost_asio.reference.buffer_copy.overload6.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload5.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload7.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload7.html b/doc/html/boost_asio/reference/buffer_copy/overload7.html new file mode 100755 index 0000000000..278f7c9e23 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload7.html @@ -0,0 +1,93 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (7 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload6.html" title="buffer_copy (6 of 30 overloads)"> +<link rel="next" href="overload8.html" title="buffer_copy (8 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload6.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload8.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload7"></a><a class="link" href="overload7.html" title="buffer_copy (7 of 30 overloads)">buffer_copy + (7 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">const_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload7.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload7.parameters"></a></span><a class="link" href="overload7.html#boost_asio.reference.buffer_copy.overload7.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A non-modifiable buffer representing the memory region from which + the bytes will be copied. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload7.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload7.return_value"></a></span><a class="link" href="overload7.html#boost_asio.reference.buffer_copy.overload7.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload7.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload7.remarks"></a></span><a class="link" href="overload7.html#boost_asio.reference.buffer_copy.overload7.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload6.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload8.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload8.html b/doc/html/boost_asio/reference/buffer_copy/overload8.html new file mode 100755 index 0000000000..bd7298494d --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload8.html @@ -0,0 +1,94 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (8 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload7.html" title="buffer_copy (7 of 30 overloads)"> +<link rel="next" href="overload9.html" title="buffer_copy (9 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload7.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload9.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload8"></a><a class="link" href="overload8.html" title="buffer_copy (8 of 30 overloads)">buffer_copy + (8 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffer</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload8.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload8.parameters"></a></span><a class="link" href="overload8.html#boost_asio.reference.buffer_copy.overload8.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload8.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload8.return_value"></a></span><a class="link" href="overload8.html#boost_asio.reference.buffer_copy.overload8.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload8.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload8.remarks"></a></span><a class="link" href="overload8.html#boost_asio.reference.buffer_copy.overload8.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload7.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload9.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/doc/html/boost_asio/reference/buffer_copy/overload9.html b/doc/html/boost_asio/reference/buffer_copy/overload9.html new file mode 100755 index 0000000000..7c85ed67f1 --- /dev/null +++ b/doc/html/boost_asio/reference/buffer_copy/overload9.html @@ -0,0 +1,94 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>buffer_copy (9 of 30 overloads)</title> +<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> +<link rel="up" href="../buffer_copy.html" title="buffer_copy"> +<link rel="prev" href="overload8.html" title="buffer_copy (8 of 30 overloads)"> +<link rel="next" href="overload10.html" title="buffer_copy (10 of 30 overloads)"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> +<td align="center"><a href="../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="overload8.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload10.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boost_asio.reference.buffer_copy.overload9"></a><a class="link" href="overload9.html" title="buffer_copy (9 of 30 overloads)">buffer_copy + (9 of 30 overloads)</a> +</h4></div></div></div> +<p> + Copies bytes from a source buffer to a target buffer. + </p> +<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">buffer_copy</span><span class="special">(</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">target</span><span class="special">,</span> + <span class="keyword">const</span> <span class="identifier">mutable_buffers_1</span> <span class="special">&</span> <span class="identifier">source</span><span class="special">);</span> +</pre> +<h6> +<a name="boost_asio.reference.buffer_copy.overload9.h0"></a> + <span><a name="boost_asio.reference.buffer_copy.overload9.parameters"></a></span><a class="link" href="overload9.html#boost_asio.reference.buffer_copy.overload9.parameters">Parameters</a> + </h6> +<div class="variablelist"> +<p class="title"><b></b></p> +<dl> +<dt><span class="term">target</span></dt> +<dd><p> + A modifiable buffer representing the memory region to which the bytes + will be copied. + </p></dd> +<dt><span class="term">source</span></dt> +<dd><p> + A modifiable buffer representing the memory region from which the + bytes will be copied. The contents of the source buffer will not + be modified. + </p></dd> +</dl> +</div> +<h6> +<a name="boost_asio.reference.buffer_copy.overload9.h1"></a> + <span><a name="boost_asio.reference.buffer_copy.overload9.return_value"></a></span><a class="link" href="overload9.html#boost_asio.reference.buffer_copy.overload9.return_value">Return + Value</a> + </h6> +<p> + The number of bytes copied. + </p> +<h6> +<a name="boost_asio.reference.buffer_copy.overload9.h2"></a> + <span><a name="boost_asio.reference.buffer_copy.overload9.remarks"></a></span><a class="link" href="overload9.html#boost_asio.reference.buffer_copy.overload9.remarks">Remarks</a> + </h6> +<p> + The number of bytes copied is the lesser of: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">target</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><span class="identifier">buffer_size</span><span class="special">(</span><span class="identifier">source</span><span class="special">)</span></code> + </li> +</ul></div> +</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-2012 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="overload8.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../buffer_copy.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload10.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> |