11 #ifndef ASIO_WRITE_AT_HPP 12 #define ASIO_WRITE_AT_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 75 template <
typename SyncRandomAccessWriteDevice,
typename ConstBufferSequence>
76 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
119 template <
typename SyncRandomAccessWriteDevice,
typename ConstBufferSequence>
120 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
173 template <
typename SyncRandomAccessWriteDevice,
typename ConstBufferSequence,
174 typename CompletionCondition>
175 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
221 template <
typename SyncRandomAccessWriteDevice,
typename ConstBufferSequence,
222 typename CompletionCondition>
223 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
227 #if !defined(ASIO_NO_IOSTREAM) 258 template <
typename SyncRandomAccessWriteDevice,
typename Allocator>
259 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
260 uint64_t
offset, basic_streambuf<Allocator>&
b);
291 template <
typename SyncRandomAccessWriteDevice,
typename Allocator>
292 std::size_t
write_at(SyncRandomAccessWriteDevice& d,
293 uint64_t
offset, basic_streambuf<Allocator>&
b,
334 template <
typename SyncRandomAccessWriteDevice,
typename Allocator,
335 typename CompletionCondition>
336 std::size_t
write_at(SyncRandomAccessWriteDevice& d, uint64_t
offset,
378 template <
typename SyncRandomAccessWriteDevice,
typename Allocator,
379 typename CompletionCondition>
380 std::size_t
write_at(SyncRandomAccessWriteDevice& d, uint64_t
offset,
384 #endif // !defined(ASIO_NO_IOSTREAM) 451 template <
typename AsyncRandomAccessWriteDevice,
typename ConstBufferSequence,
452 typename WriteHandler>
455 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t
offset,
456 const ConstBufferSequence&
buffers,
530 template <typename AsyncRandomAccessWriteDevice, typename ConstBufferSequence,
531 typename CompletionCondition, typename WriteHandler>
533 void (
asio::error_code,
std::
size_t))
534 async_write_at(AsyncRandomAccessWriteDevice& d,
535 uint64_t offset, const ConstBufferSequence& buffers,
539 #if !defined(ASIO_NO_IOSTREAM) 586 template <
typename AsyncRandomAccessWriteDevice,
typename Allocator,
587 typename WriteHandler>
590 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t offset,
591 basic_streambuf<Allocator>&
b,
ASIO_MOVE_ARG(WriteHandler) handler);
652 template <typename AsyncRandomAccessWriteDevice, typename Allocator,
653 typename CompletionCondition, typename WriteHandler>
655 void (
asio::error_code,
std::
size_t))
656 async_write_at(AsyncRandomAccessWriteDevice& d, uint64_t offset,
657 basic_streambuf<Allocator>& b, CompletionCondition completion_condition,
660 #endif // !defined(ASIO_NO_IOSTREAM) 670 #endif // ASIO_WRITE_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 write_at(SyncRandomAccessWriteDevice &d, uint64_t offset, const ConstBufferSequence &buffers, CompletionCondition completion_condition, asio::error_code &ec)
Write a certain amount of data at a specified offset before returning.
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