 </p>
<pre class="programlisting">template&lt;
    typename <a class="link" href="../SyncReadStream.html" title="Buffer-oriented synchronous read stream requirements">SyncReadStream</a>,
    typename Allocator&gt;
std::size_t read_until(
    SyncReadStream &amp; s,
    boost::asio::basic_streambuf&lt; Allocator &gt; &amp; b,
    string_view delim,
    boost::system::error_code &amp; ec);
</pre>
<p>
          This function is used to read data into the specified streambuf until the
          streambuf's get 