1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>mutable_buffers_1</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../boost_asio.html" title="Boost.Asio"> 8<link rel="up" href="../reference.html" title="Reference"> 9<link rel="prev" href="mutable_buffer/size.html" title="mutable_buffer::size"> 10<link rel="next" href="mutable_buffers_1/begin.html" title="mutable_buffers_1::begin"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 15<td align="center"><a href="../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="mutable_buffer/size.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.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="mutable_buffers_1/begin.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h3 class="title"> 27<a name="boost_asio.reference.mutable_buffers_1"></a><a class="link" href="mutable_buffers_1.html" title="mutable_buffers_1">mutable_buffers_1</a> 28</h3></div></div></div> 29<p> 30 (Deprecated: Use <a class="link" href="mutable_buffer.html" title="mutable_buffer"><code class="computeroutput">mutable_buffer</code></a>.) 31 Adapts a single modifiable buffer so that it meets the requirements of the 32 MutableBufferSequence concept. 33 </p> 34<pre class="programlisting">class mutable_buffers_1 : 35 public mutable_buffer 36</pre> 37<h5> 38<a name="boost_asio.reference.mutable_buffers_1.h0"></a> 39 <span class="phrase"><a name="boost_asio.reference.mutable_buffers_1.types"></a></span><a class="link" href="mutable_buffers_1.html#boost_asio.reference.mutable_buffers_1.types">Types</a> 40 </h5> 41<div class="informaltable"><table class="table"> 42<colgroup> 43<col> 44<col> 45</colgroup> 46<thead><tr> 47<th> 48 <p> 49 Name 50 </p> 51 </th> 52<th> 53 <p> 54 Description 55 </p> 56 </th> 57</tr></thead> 58<tbody> 59<tr> 60<td> 61 <p> 62 <a class="link" href="mutable_buffers_1/const_iterator.html" title="mutable_buffers_1::const_iterator"><span class="bold"><strong>const_iterator</strong></span></a> 63 </p> 64 </td> 65<td> 66 <p> 67 A random-access iterator type that may be used to read elements. 68 </p> 69 </td> 70</tr> 71<tr> 72<td> 73 <p> 74 <a class="link" href="mutable_buffers_1/value_type.html" title="mutable_buffers_1::value_type"><span class="bold"><strong>value_type</strong></span></a> 75 </p> 76 </td> 77<td> 78 <p> 79 The type for each element in the list of buffers. 80 </p> 81 </td> 82</tr> 83</tbody> 84</table></div> 85<h5> 86<a name="boost_asio.reference.mutable_buffers_1.h1"></a> 87 <span class="phrase"><a name="boost_asio.reference.mutable_buffers_1.member_functions"></a></span><a class="link" href="mutable_buffers_1.html#boost_asio.reference.mutable_buffers_1.member_functions">Member 88 Functions</a> 89 </h5> 90<div class="informaltable"><table class="table"> 91<colgroup> 92<col> 93<col> 94</colgroup> 95<thead><tr> 96<th> 97 <p> 98 Name 99 </p> 100 </th> 101<th> 102 <p> 103 Description 104 </p> 105 </th> 106</tr></thead> 107<tbody> 108<tr> 109<td> 110 <p> 111 <a class="link" href="mutable_buffers_1/begin.html" title="mutable_buffers_1::begin"><span class="bold"><strong>begin</strong></span></a> 112 </p> 113 </td> 114<td> 115 <p> 116 Get a random-access iterator to the first element. 117 </p> 118 </td> 119</tr> 120<tr> 121<td> 122 <p> 123 <a class="link" href="mutable_buffers_1/data.html" title="mutable_buffers_1::data"><span class="bold"><strong>data</strong></span></a> 124 </p> 125 </td> 126<td> 127 <p> 128 Get a pointer to the beginning of the memory range. 129 </p> 130 </td> 131</tr> 132<tr> 133<td> 134 <p> 135 <a class="link" href="mutable_buffers_1/end.html" title="mutable_buffers_1::end"><span class="bold"><strong>end</strong></span></a> 136 </p> 137 </td> 138<td> 139 <p> 140 Get a random-access iterator for one past the last element. 141 </p> 142 </td> 143</tr> 144<tr> 145<td> 146 <p> 147 <a class="link" href="mutable_buffers_1/mutable_buffers_1.html" title="mutable_buffers_1::mutable_buffers_1"><span class="bold"><strong>mutable_buffers_1</strong></span></a> <span class="silver">[constructor]</span> 148 </p> 149 </td> 150<td> 151 <p> 152 Construct to represent a given memory range. <br> <span class="silver"> —</span><br> Construct 153 to represent a single modifiable buffer. 154 </p> 155 </td> 156</tr> 157<tr> 158<td> 159 <p> 160 <a class="link" href="mutable_buffers_1/operator_plus__eq_.html" title="mutable_buffers_1::operator+="><span class="bold"><strong>operator+=</strong></span></a> 161 </p> 162 </td> 163<td> 164 <p> 165 Move the start of the buffer by the specified number of bytes. 166 </p> 167 </td> 168</tr> 169<tr> 170<td> 171 <p> 172 <a class="link" href="mutable_buffers_1/size.html" title="mutable_buffers_1::size"><span class="bold"><strong>size</strong></span></a> 173 </p> 174 </td> 175<td> 176 <p> 177 Get the size of the memory range. 178 </p> 179 </td> 180</tr> 181</tbody> 182</table></div> 183<h5> 184<a name="boost_asio.reference.mutable_buffers_1.h2"></a> 185 <span class="phrase"><a name="boost_asio.reference.mutable_buffers_1.related_functions"></a></span><a class="link" href="mutable_buffers_1.html#boost_asio.reference.mutable_buffers_1.related_functions">Related 186 Functions</a> 187 </h5> 188<div class="informaltable"><table class="table"> 189<colgroup> 190<col> 191<col> 192</colgroup> 193<thead><tr> 194<th> 195 <p> 196 Name 197 </p> 198 </th> 199<th> 200 <p> 201 Description 202 </p> 203 </th> 204</tr></thead> 205<tbody><tr> 206<td> 207 <p> 208 <a class="link" href="mutable_buffers_1/operator_plus_.html" title="mutable_buffers_1::operator+"><span class="bold"><strong>operator+</strong></span></a> 209 </p> 210 </td> 211<td> 212 <p> 213 Create a new modifiable buffer that is offset from the start of 214 another. 215 </p> 216 </td> 217</tr></tbody> 218</table></div> 219<h5> 220<a name="boost_asio.reference.mutable_buffers_1.h3"></a> 221 <span class="phrase"><a name="boost_asio.reference.mutable_buffers_1.requirements"></a></span><a class="link" href="mutable_buffers_1.html#boost_asio.reference.mutable_buffers_1.requirements">Requirements</a> 222 </h5> 223<p> 224 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/buffer.hpp</code> 225 </p> 226<p> 227 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 228 </p> 229</div> 230<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 231<td align="left"></td> 232<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 233 Kohlhoff<p> 234 Distributed under the Boost Software License, Version 1.0. (See accompanying 235 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>) 236 </p> 237</div></td> 238</tr></table> 239<hr> 240<div class="spirit-nav"> 241<a accesskey="p" href="mutable_buffer/size.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.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="mutable_buffers_1/begin.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 242</div> 243</body> 244</html> 245