write
write 함수는 반환하기 전에 일정량의 데이터를 스트림에 쓰는 합성된 작업이다.
반환하기 전에 제공된 모든 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename ConstBufferSequence> std::size_t write( SyncWriteStream & s, const ConstBufferSequence & buffers, typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type * = 0);
[SyncWriteStream, ConstBufferSequence, write]
template< typename SyncWriteStream, typename ConstBufferSequence> std::size_t write( SyncWriteStream & s, const ConstBufferSequence & buffers, boost::system::error_code & ec, typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type * = 0);
반환하기 전에 일정량의 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename ConstBufferSequence, typename CompletionCondition> std::size_t write( SyncWriteStream & s, const ConstBufferSequence & buffers, CompletionCondition completion_condition, typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type * = 0);
[SyncWriteStream, ConstBufferSequence, CompletionCondition, write]
template< typename SyncWriteStream, typename ConstBufferSequence, typename CompletionCondition> std::size_t write( SyncWriteStream & s, const ConstBufferSequence & buffers, CompletionCondition completion_condition, boost::system::error_code & ec, typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type * = 0);
[SyncWriteStream, ConstBufferSequence, CompletionCondition, write]
반환하기 전에 제공된 모든 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename DynamicBuffer_v1> std::size_t write( SyncWriteStream & 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);
[SyncWriteStream, DynamicBuffer_v1, write]
template< typename SyncWriteStream, typename DynamicBuffer_v1> std::size_t write( SyncWriteStream & 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);
반환하기 전에 일정량의 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename DynamicBuffer_v1> std::size_t write( SyncWriteStream & 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);
[SyncWriteStream, DynamicBuffer_v1, CompletionCondition, write]
template< typename SyncWriteStream, typename DynamicBuffer_v1> std::size_t write( SyncWriteStream & 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);
[SyncWriteStream, DynamicBuffer_v1, CompletionCondition, write]
반환하기 전에 제공된 모든 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename Allocator> std::size_t write( SyncWriteStream & s, basic_streambuf< Allocator > & b);
template< typename SyncWriteStream, typename Allocator> std::size_t write( SyncWriteStream & s, basic_streambuf< Allocator > & b, boost::system::error_code & ec);
반환하기 전에 일정량의 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename Allocator, typename CompletionCondition> std::size_t write( SyncWriteStream & s, basic_streambuf< Allocator > & b, CompletionCondition completion_condition);
[SyncWriteStream, CompletionCondition, write]
template< typename SyncWriteStream, typename Allocator, typename CompletionCondition> std::size_t write( SyncWriteStream & s, basic_streambuf< Allocator > & b, CompletionCondition completion_condition, boost::system::error_code & ec);
반환하기 전에 제공된 모든 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename DynamicBuffer_v2> std::size_t write( SyncWriteStream & s, DynamicBuffer_v2 buffers, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncWriteStream, DynamicBuffer_v2, write]
template< typename SyncWriteStream, typename DynamicBuffer_v2> std::size_t write( SyncWriteStream & s, DynamicBuffer_v2 buffers, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
반환하기 전에 일정량의 데이터를 스트림에 쓴다.
template< typename SyncWriteStream, typename DynamicBuffer_v2, typename CompletionCondition> std::size_t write( SyncWriteStream & s, DynamicBuffer_v2 buffers, CompletionCondition completion_condition, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncWriteStream, DynamicBuffer_v2, CompletionCondition, write]
template< typename SyncWriteStream, typename DynamicBuffer_v2, typename CompletionCondition> std::size_t write( SyncWriteStream & s, DynamicBuffer_v2 buffers, CompletionCondition completion_condition, boost::system::error_code & ec, typename enable_if< is_dynamic_buffer_v2< DynamicBuffer_v2 >::value >::type * = 0);
[SyncWriteStream, DynamicBuffer_v2, CompletionCondition, write]
요구 사항
일반 헤더: boost/asio/write.hpp
편의 헤더: boost/asio.hpp
Boost.Asio 홈
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_serial_port::write_some (0) | 2021.03.11 |
---|---|
Boost.Asio 색인 - write_at (0) | 2021.03.11 |
Boost.Asio 색인 - io_context::strand::wrap (0) | 2021.03.11 |
Boost.Asio 색인 - io_context::wrap (0) | 2021.03.11 |
Boost.Asio 색인 - io_context::work::work (0) | 2021.03.11 |