title: Dynamically sized boost::asio::buffer
body: <p>I'm reading from a <code>boost::asio::ip::udp::socket</code> like this:</p>
  
  <pre><code>using boost::asio::ip::udp;
  
  // ...
  
  char recv_buf[128];
  udp::endpoint sender_endpoint;
  size_t len = socket.receive_from(boost::asio::buffer(recv_buf), sender_endpoint);
  </code></pre>
  
  <p>Now, this works perfectly fine, but the maximum amount of characters that I am able to recieve is now 127. However I am facing a problem because I need to accept some data input of which the length can greatly vary (and is not of well-defined length with prefixed headers, for example). A solution to this would be a dynamically expanding buffer, like a vector. Is it possible to create a dynamically expanding <code>boost::asio::buffer</code> to accept (theoretical) infite amounts of input and store it in a container?</p>