11 #ifndef ASIO_WRITE_HPP 12 #define ASIO_WRITE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 71 template <
typename SyncWriteStream,
typename ConstBufferSequence>
72 std::size_t
write(SyncWriteStream&
s,
const ConstBufferSequence&
buffers);
110 template <
typename SyncWriteStream,
typename ConstBufferSequence>
111 std::size_t
write(SyncWriteStream&
s,
const ConstBufferSequence&
buffers,
160 template <
typename SyncWriteStream,
typename ConstBufferSequence,
161 typename CompletionCondition>
162 std::size_t
write(SyncWriteStream&
s,
const ConstBufferSequence&
buffers,
204 template <
typename SyncWriteStream,
typename ConstBufferSequence,
205 typename CompletionCondition>
206 std::size_t
write(SyncWriteStream&
s,
const ConstBufferSequence&
buffers,
209 #if !defined(ASIO_NO_IOSTREAM) 237 template <
typename SyncWriteStream,
typename Allocator>
238 std::size_t
write(SyncWriteStream&
s, basic_streambuf<Allocator>&
b);
266 template <
typename SyncWriteStream,
typename Allocator>
267 std::size_t
write(SyncWriteStream&
s, basic_streambuf<Allocator>&
b,
305 template <
typename SyncWriteStream,
typename Allocator,
306 typename CompletionCondition>
307 std::size_t
write(SyncWriteStream&
s, basic_streambuf<Allocator>&
b,
346 template <
typename SyncWriteStream,
typename Allocator,
347 typename CompletionCondition>
348 std::size_t
write(SyncWriteStream&
s, basic_streambuf<Allocator>&
b,
351 #endif // !defined(ASIO_NO_IOSTREAM) 414 template <
typename AsyncWriteStream,
typename ConstBufferSequence,
415 typename WriteHandler>
418 async_write(AsyncWriteStream&
s, const ConstBufferSequence&
buffers,
488 template <typename AsyncWriteStream, typename ConstBufferSequence,
489 typename CompletionCondition, typename WriteHandler>
491 void (
asio::error_code,
std::
size_t))
492 async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
496 #if !defined(ASIO_NO_IOSTREAM) 539 template <
typename AsyncWriteStream,
typename Allocator,
typename WriteHandler>
542 async_write(AsyncWriteStream& s, basic_streambuf<Allocator>&
b,
600 template <typename AsyncWriteStream, typename Allocator,
601 typename CompletionCondition, typename WriteHandler>
603 void (
asio::error_code,
std::
size_t))
604 async_write(AsyncWriteStream& s, basic_streambuf<Allocator>& b,
605 CompletionCondition completion_condition,
608 #endif // !defined(ASIO_NO_IOSTREAM) 618 #endif // ASIO_WRITE_HPP
std::size_t write(SyncWriteStream &s, const ConstBufferSequence &buffers, CompletionCondition completion_condition, asio::error_code &ec)
Write a certain amount of data to a stream before returning.
asio::basic_streambuf< Allocator > & b
ASIO_INITFN_RESULT_TYPE(ComposedConnectHandler, void(asio::error_code, Iterator)) async_connect(basic_socket< Protocol
const MutableBufferSequence & buffers
asio::basic_streambuf< Allocator > CompletionCondition ASIO_MOVE_ARG(ReadHandler) handler)
Class to represent an error code value.
const MutableBufferSequence CompletionCondition completion_condition