11 #ifndef ASIO_READ_AT_HPP 12 #define ASIO_READ_AT_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 77 template <
typename SyncRandomAccessReadDevice,
typename MutableBufferSequence>
78 std::size_t
read_at(SyncRandomAccessReadDevice& d,
122 template <
typename SyncRandomAccessReadDevice,
typename MutableBufferSequence>
123 std::size_t
read_at(SyncRandomAccessReadDevice& d,
177 template <
typename SyncRandomAccessReadDevice,
typename MutableBufferSequence,
178 typename CompletionCondition>
179 std::size_t
read_at(SyncRandomAccessReadDevice& d,
226 template <
typename SyncRandomAccessReadDevice,
typename MutableBufferSequence,
227 typename CompletionCondition>
228 std::size_t
read_at(SyncRandomAccessReadDevice& d,
232 #if !defined(ASIO_NO_IOSTREAM) 262 template <
typename SyncRandomAccessReadDevice,
typename Allocator>
263 std::size_t
read_at(SyncRandomAccessReadDevice& d,
264 uint64_t
offset, basic_streambuf<Allocator>&
b);
294 template <
typename SyncRandomAccessReadDevice,
typename Allocator>
295 std::size_t
read_at(SyncRandomAccessReadDevice& d,
296 uint64_t
offset, basic_streambuf<Allocator>&
b,
336 template <
typename SyncRandomAccessReadDevice,
typename Allocator,
337 typename CompletionCondition>
338 std::size_t
read_at(SyncRandomAccessReadDevice& d,
339 uint64_t
offset, basic_streambuf<Allocator>&
b,
380 template <
typename SyncRandomAccessReadDevice,
typename Allocator,
381 typename CompletionCondition>
382 std::size_t
read_at(SyncRandomAccessReadDevice& d,
383 uint64_t
offset, basic_streambuf<Allocator>&
b,
386 #endif // !defined(ASIO_NO_IOSTREAM) 456 template <
typename AsyncRandomAccessReadDevice,
typename MutableBufferSequence,
457 typename ReadHandler>
460 async_read_at(AsyncRandomAccessReadDevice& d, uint64_t
offset,
461 const MutableBufferSequence&
buffers,
529 template <typename AsyncRandomAccessReadDevice, typename MutableBufferSequence,
530 typename CompletionCondition, typename ReadHandler>
532 void (
asio::error_code,
std::
size_t))
533 async_read_at(AsyncRandomAccessReadDevice& d,
534 uint64_t offset, const MutableBufferSequence& buffers,
538 #if !defined(ASIO_NO_IOSTREAM) 585 template <
typename AsyncRandomAccessReadDevice,
typename Allocator,
586 typename ReadHandler>
589 async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
590 basic_streambuf<Allocator>&
b,
ASIO_MOVE_ARG(ReadHandler) handler);
645 template <typename AsyncRandomAccessReadDevice, typename Allocator,
646 typename CompletionCondition, typename ReadHandler>
648 void (
asio::error_code,
std::
size_t))
649 async_read_at(AsyncRandomAccessReadDevice& d,
650 uint64_t offset, basic_streambuf<Allocator>& b,
651 CompletionCondition completion_condition,
654 #endif // !defined(ASIO_NO_IOSTREAM) 664 #endif // ASIO_READ_AT_HPP
asio::basic_streambuf< Allocator > & b
ASIO_INITFN_RESULT_TYPE(ComposedConnectHandler, void(asio::error_code, Iterator)) async_connect(basic_socket< Protocol
std::size_t read_at(SyncRandomAccessReadDevice &d, uint64_t offset, const MutableBufferSequence &buffers, CompletionCondition completion_condition, asio::error_code &ec)
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