asio C++ library

PrevUpHomeNext

write

Write a certain amount of data to a stream before returning.

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);
  » more...

template<
    typename SyncWriteStream,
    typename ConstBufferSequence>
std::size_t write(
    SyncWriteStream & s,
    const ConstBufferSequence & buffers,
    asio::error_code & ec,
    typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type *  = 0);
  » more...

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);
  » more...

template<
    typename SyncWriteStream,
    typename ConstBufferSequence,
    typename CompletionCondition>
std::size_t write(
    SyncWriteStream & s,
    const ConstBufferSequence & buffers,
    CompletionCondition completion_condition,
    asio::error_code & ec,
    typename enable_if< is_const_buffer_sequence< ConstBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncWriteStream,
    typename DynamicBufferSequence>
std::size_t write(
    SyncWriteStream & s,
    DynamicBufferSequence && buffers,
    typename enable_if< is_dynamic_buffer_sequence< DynamicBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncWriteStream,
    typename DynamicBufferSequence>
std::size_t write(
    SyncWriteStream & s,
    DynamicBufferSequence && buffers,
    asio::error_code & ec,
    typename enable_if< is_dynamic_buffer_sequence< DynamicBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncWriteStream,
    typename DynamicBufferSequence,
    typename CompletionCondition>
std::size_t write(
    SyncWriteStream & s,
    DynamicBufferSequence && buffers,
    CompletionCondition completion_condition,
    typename enable_if< is_dynamic_buffer_sequence< DynamicBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncWriteStream,
    typename DynamicBufferSequence,
    typename CompletionCondition>
std::size_t write(
    SyncWriteStream & s,
    DynamicBufferSequence && buffers,
    CompletionCondition completion_condition,
    asio::error_code & ec,
    typename enable_if< is_dynamic_buffer_sequence< DynamicBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncWriteStream,
    typename Allocator>
std::size_t write(
    SyncWriteStream & s,
    basic_streambuf< Allocator > & b);
  » more...

template<
    typename SyncWriteStream,
    typename Allocator>
std::size_t write(
    SyncWriteStream & s,
    basic_streambuf< Allocator > & b,
    asio::error_code & ec);
  » more...

template<
    typename SyncWriteStream,
    typename Allocator,
    typename CompletionCondition>
std::size_t write(
    SyncWriteStream & s,
    basic_streambuf< Allocator > & b,
    CompletionCondition completion_condition);
  » more...

template<
    typename SyncWriteStream,
    typename Allocator,
    typename CompletionCondition>
std::size_t write(
    SyncWriteStream & s,
    basic_streambuf< Allocator > & b,
    CompletionCondition completion_condition,
    asio::error_code & ec);
  » more...
Requirements

Header: asio/write.hpp

Convenience header: asio.hpp


PrevUpHomeNext