...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Attempt to read a certain amount of data at the specified offset before returning.
template< typename SyncRandomAccessReadDevice, typename MutableBufferSequence> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, const MutableBufferSequence & buffers); » more... template< typename SyncRandomAccessReadDevice, typename MutableBufferSequence> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, const MutableBufferSequence & buffers, boost::system::error_code & ec); » more... template< typename SyncRandomAccessReadDevice, typename MutableBufferSequence, typename CompletionCondition> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, const MutableBufferSequence & buffers, CompletionCondition completion_condition); » more... template< typename SyncRandomAccessReadDevice, typename MutableBufferSequence, typename CompletionCondition> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, const MutableBufferSequence & buffers, CompletionCondition completion_condition, boost::system::error_code & ec); » more... template< typename SyncRandomAccessReadDevice, typename Allocator> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, basic_streambuf< Allocator > & b); » more... template< typename SyncRandomAccessReadDevice, typename Allocator> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, basic_streambuf< Allocator > & b, boost::system::error_code & ec); » more... template< typename SyncRandomAccessReadDevice, typename Allocator, typename CompletionCondition> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, basic_streambuf< Allocator > & b, CompletionCondition completion_condition); » more... template< typename SyncRandomAccessReadDevice, typename Allocator, typename CompletionCondition> std::size_t read_at( SyncRandomAccessReadDevice & d, uint64_t offset, basic_streambuf< Allocator > & b, CompletionCondition completion_condition, boost::system::error_code & ec); » more...
Header: boost/asio/read_at.hpp
Convenience header: boost/asio.hpp