read
read 함수는 반환하기 전에 스트림에서 일정량의 데이터를 읽어오는 구성된 작업이다.
반환하기 전에 스트림에서 일정량의 데이터 읽기를 시도한다.
template< typename SyncReadStream, typename MutableBufferSequence> std::size_t read( SyncReadStream & s, const MutableBufferSequence & buffers, typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type * = 0);
[SyncReadStream, MutableBufferSequence, read]
template< typename SyncReadStream, typename MutableBufferSequence> std::size_t read( SyncReadStream & s, const MutableBufferSequence & buffers, boost::system::error_code & ec, typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type * = 0);
[SyncReadStream, MutableBufferSequence, read]
template< typename SyncReadStream, typename MutableBufferSequence, typename CompletionCondition> std::size_t read( SyncReadStream & s, const MutableBufferSequence & buffers, CompletionCondition completion_condition, typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type * = 0);
[SyncReadStream, MutableBufferSequence, CompletionCondition, read]
template< typename SyncReadStream, typename MutableBufferSequence, typename CompletionCondition> std::size_t read( SyncReadStream & s, const MutableBufferSequence & buffers, CompletionCondition completion_condition, boost::system::error_code & ec, typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type * = 0);
[SyncReadStream, MutableBufferSequence, CompletionCondition, read]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read( SyncReadStream & s, DynamicBuffer_v1 && buffers, 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]
template< typename SyncReadStream, typename DynamicBuffer_v1> std::size_t read( SyncReadStream & s, DynamicBuffer_v1 && buffers, 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]
template< typename SyncReadStream, typename DynamicBuffer_v1, typename CompletionCondition> std::size_t read( SyncReadStream & s, DynamicBuffer_v1 && buffers, CompletionCondition completion_condition, 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, CompletionCondition, read]
template< typename SyncReadStream, typename DynamicBuffer_v1, typename CompletionCondition> std::size_t read( SyncReadStream & s, DynamicBuffer_v1 && buffers, CompletionCondition completion_condition, 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, CompletionCondition, read]
template< typename SyncReadStream, typename Allocator> std::size_t read( SyncReadStream & s, basic_streambuf< Allocator > & b);
template< typename SyncReadStream, typename Allocator> std::size_t read( SyncReadStream & s, basic_streambuf< Allocator > & b, boost::system::error_code & ec);
template< typename SyncReadStream, typename Allocator, typename CompletionCondition> std::size_t read( SyncReadStream & s, basic_streambuf< Allocator > & b, CompletionCondition completion_condition);
[SyncReadStream, CompletionCondition, read]
template< typename SyncReadStream, typename Allocator, typename CompletionCondition> std::size_t read( SyncReadStream & s, basic_streambuf< Allocator > & b, CompletionCondition completion_condition, boost::system::error_code & ec);
[SyncReadStream, CompletionCondition, read]
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read( SyncReadStream & s, DynamicBuffer_v2 buffers, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read]
template< typename SyncReadStream, typename DynamicBuffer_v2> std::size_t read( SyncReadStream & s, DynamicBuffer_v2 buffers, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, read]
template< typename SyncReadStream, typename DynamicBuffer_v2, typename CompletionCondition> std::size_t read( SyncReadStream & s, DynamicBuffer_v2 buffers, CompletionCondition completion_condition, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, CompletionCondition, read]
template< typename SyncReadStream, typename DynamicBuffer_v2, typename CompletionCondition> std::size_t read( SyncReadStream & s, DynamicBuffer_v2 buffers, CompletionCondition completion_condition, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncReadStream, DynamicBuffer_v2, CompletionCondition, read]
요구 사항
일반 헤더: boost/asio/read.hpp
편의 헤더: boost/asio.hpp
Boost.Asio 홈
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_serial_port::read_some (0) | 2021.02.24 |
---|---|
Boost.Asio 색인 - read_at (0) | 2021.02.24 |
Boost.Asio 색인 - basic_socket_iostream::rdbuf (0) | 2021.02.24 |
Boost.Asio 색인 - generic::raw_protocol::raw_protocol (0) | 2021.02.24 |
Boost.Asio 색인 - thread_pool::basic_executor_type::query (0) | 2021.02.23 |