14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 72 template <
typename SyncReadStream,
typename MutableBufferSequence>
73 std::size_t
read(SyncReadStream&
s,
const MutableBufferSequence&
buffers);
111 template <
typename SyncReadStream,
typename MutableBufferSequence>
112 std::size_t
read(SyncReadStream&
s,
const MutableBufferSequence&
buffers,
161 template <
typename SyncReadStream,
typename MutableBufferSequence,
162 typename CompletionCondition>
163 std::size_t
read(SyncReadStream&
s,
const MutableBufferSequence&
buffers,
205 template <
typename SyncReadStream,
typename MutableBufferSequence,
206 typename CompletionCondition>
207 std::size_t
read(SyncReadStream&
s,
const MutableBufferSequence&
buffers,
210 #if !defined(ASIO_NO_IOSTREAM) 238 template <
typename SyncReadStream,
typename Allocator>
239 std::size_t
read(SyncReadStream&
s, basic_streambuf<Allocator>&
b);
267 template <
typename SyncReadStream,
typename Allocator>
268 std::size_t
read(SyncReadStream&
s, basic_streambuf<Allocator>&
b,
306 template <
typename SyncReadStream,
typename Allocator,
307 typename CompletionCondition>
308 std::size_t
read(SyncReadStream&
s, basic_streambuf<Allocator>&
b,
347 template <
typename SyncReadStream,
typename Allocator,
348 typename CompletionCondition>
349 std::size_t
read(SyncReadStream&
s, basic_streambuf<Allocator>&
b,
352 #endif // !defined(ASIO_NO_IOSTREAM) 423 template <
typename AsyncReadStream,
typename MutableBufferSequence,
424 typename ReadHandler>
427 async_read(AsyncReadStream&
s, const MutableBufferSequence&
buffers,
493 template <typename AsyncReadStream, typename MutableBufferSequence,
494 typename CompletionCondition, typename ReadHandler>
496 void (
asio::error_code,
std::
size_t))
497 async_read(AsyncReadStream& s, const MutableBufferSequence& buffers,
501 #if !defined(ASIO_NO_IOSTREAM) 551 template <
typename AsyncReadStream,
typename Allocator,
typename ReadHandler>
554 async_read(AsyncReadStream& s, basic_streambuf<Allocator>&
b,
613 template <typename AsyncReadStream, typename Allocator,
614 typename CompletionCondition, typename ReadHandler>
616 void (
asio::error_code,
std::
size_t))
617 async_read(AsyncReadStream& s, basic_streambuf<Allocator>& b,
618 CompletionCondition completion_condition,
621 #endif // !defined(ASIO_NO_IOSTREAM) 631 #endif // ASIO_READ_HPP
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)
std::size_t read(SyncReadStream &s, const MutableBufferSequence &buffers, CompletionCondition completion_condition, asio::error_code &ec)
Attempt to read a certain amount of data from a stream before returning.
Class to represent an error code value.
const MutableBufferSequence CompletionCondition completion_condition