| Home | Libraries | People | FAQ | More

### read_until

Read data into a dynamic buffer sequence, or into a streambuf, until it contains a delimiter, matches a regular expression, or a function object indicates a match.

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        char delim);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        char delim,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        string_view delim);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        string_view delim,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        const boost::regex & expr);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        const boost::regex & expr,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer,
        typename MatchCondition>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        MatchCondition match_condition,
        typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
      » more...

    template<
        typename SyncReadStream,
        typename DynamicBuffer,
        typename MatchCondition>
    std::size_t read_until(
        SyncReadStream & s,
        DynamicBuffer && buffers,
        MatchCondition match_condition,
        boost::system::error_code & ec,
        typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        char delim);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        char delim,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        string_view delim);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        string_view delim,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        const boost::regex & expr);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        const boost::regex & expr,
        boost::system::error_code & ec);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator,
        typename MatchCondition>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        MatchCondition match_condition,
        typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
      » more...

    template<
        typename SyncReadStream,
        typename Allocator,
        typename MatchCondition>
    std::size_t read_until(
        SyncReadStream & s,
        boost::asio::basic_streambuf< Allocator > & b,
        MatchCondition match_condition,
        boost::system::error_code & ec,
        typename enable_if< is_match_condition< MatchCondition >::value >::type *  = 0);
      » more...

##### Requirements

Header: `boost/asio/read_until.hpp`

Convenience header: `boost/asio.hpp`