read_until
read_until 함수는 구분 기호를 포함하거나, 정규식과 일치하거나, 일치하는 함수 개체가 나타날 때까지 동적 버퍼 시퀀스나 streambuf에서 데이터를 읽어오는 구성된 작업이다.
지정된 구분 기호를 포함할 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, char delim, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v1, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, char delim, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v1, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, string_view delim, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v1, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, string_view delim, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
포함된 데이터의 일부가 정규식과 일치할 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, const boost::regex & expr, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v1, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, const boost::regex & expr, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
일치하는 함수 개체가 나타날 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v1, typename MatchCondition> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, MatchCondition match_condition, typename enable_if< is_match_condition< MatchCondition >::value &&is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v1, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1, typename MatchCondition> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, MatchCondition match_condition, boost::system::error_code & ec, typename enable_if< is_match_condition< MatchCondition >::value &&is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
지정된 구분 기호를 포함할 때까지 streambuf에서 데이터를 읽는다.
template< typename SyncReadStream, typename Allocator> std::size_t read_until( SyncReadStream & s, boost::asio::basic_streambuf< Allocator > & b, char delim);
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);
template< typename SyncReadStream, typename Allocator> std::size_t read_until( SyncReadStream & s, boost::asio::basic_streambuf< Allocator > & b, string_view delim);
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);
포함된 데이터의 일부가 정규식과 일치할 때까지 streambuf에서 데이터를 읽는다.
template< typename SyncReadStream, typename Allocator> std::size_t read_until( SyncReadStream & s, boost::asio::basic_streambuf< Allocator > & b, const boost::regex & expr);
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);
일치하는 함수 개체가 나타날 때까지 streambuf에서 데이터를 읽는다.
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);
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);
지정된 구분 기호를 포함할 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, char delim, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, char delim, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, string_view delim, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, string_view delim, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
포함된 데이터의 일부가 정규식과 일치할 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, const boost::regex & expr, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v1 && buffers, const boost::regex & expr, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v1< typename decay< DynamicBuffer_v1 >::type >::value &&!is_dynamic_buffer_v2< typename decay< DynamicBuffer_v1 >::type >::value >::type * = 0);
일치하는 함수 개체가 나타날 때까지 동적 버퍼 시퀀스에서 데이터를 읽는다.
template< typename SyncReadStream, typename DynamicBuffer_v2, typename MatchCondition> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, MatchCondition match_condition, typename enable_if< is_match_condition< MatchCondition >::value &&is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read_until]
template< typename SyncReadStream, typename DynamicBuffer_v2, typename MatchCondition> std::size_t read_until( SyncReadStream & s, DynamicBuffer_v2 buffers, MatchCondition match_condition, boost::system::error_code & ec, typename enable_if< is_match_condition< MatchCondition >::value &&is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
요구 사항
일반 헤더: boost/asio/read_until.hpp
편의 헤더: boost/asio.hpp
Boost.Asio 홈
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_datagram_socket::receive (0) | 2021.02.24 |
---|---|
Boost.Asio 색인 - use_future_t::rebind (0) | 2021.02.24 |
Boost.Asio 색인 - windows::basic_random_access_handle::read_some_at (0) | 2021.02.24 |
Boost.Asio 색인 - windows::basic_stream_handle::read_some (0) | 2021.02.24 |
Boost.Asio 색인 - ssl::stream::read_some (0) | 2021.02.24 |