Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - async_write_at

까마귀75 2021. 1. 8. 16:06
728x90
반응형

async_write_at

async_write_at 함수는 완료 전에 지정된 오프셋에 특정 양의 데이터를 쓰는 합성된 비동기 작업이다.

지정된 오프셋에서 제공된 모든 데이터를 쓰는 비동기 작업을 시작한다.
[1 / 4 오버로드]

template<
    typename AsyncRandomAccessWriteDevice,
    typename ConstBufferSequence,
    typename WriteHandler = DEFAULT>
DEDUCED async_write_at(
    AsyncRandomAccessWriteDevice & d,
    uint64_t offset,
    const ConstBufferSequence & buffers,
    WriteHandler && handler = DEFAULT);

[AsyncRandomAccessWriteDevice, ConstBufferSequence, WriteHandler, DEFAULT, DEDUCED, async_write_at]

지정된 오프셋에 특정 양의 데이터를 쓰는 비동기 작업을 시작한다.
[2 / 4 오버로드]

template<
    typename AsyncRandomAccessWriteDevice,
    typename ConstBufferSequence,
    typename CompletionCondition,
    typename WriteHandler = DEFAULT>
DEDUCED async_write_at(
    AsyncRandomAccessWriteDevice & d,
    uint64_t offset,
    const ConstBufferSequence & buffers,
    CompletionCondition completion_condition,
    WriteHandler && handler = DEFAULT);

[AsyncRandomAccessWriteDevice, ConstBufferSequence, CompletionCondition, WriteHandler, DEFAULT, DEDUCED, async_write_at]

지정된 오프셋에서 제공된 모든 데이터를 쓰는 비동기 작업을 시작한다.
[3 / 4 오버로드]

template<
    typename AsyncRandomAccessWriteDevice,
    typename Allocator,
    typename WriteHandler = DEFAULT>
DEDUCED async_write_at(
    AsyncRandomAccessWriteDevice & d,
    uint64_t offset,
    basic_streambuf< Allocator > & b,
    WriteHandler && handler = DEFAULT);

[AsyncRandomAccessWriteDevice, WriteHandler, DEFAULT, DEDUCED, async_write_at]

지정된 오프셋에 특정 양의 데이터를 쓰는 비동기 작업을 시작한다.
[4 / 4 오버로드]

template<
    typename AsyncRandomAccessWriteDevice,
    typename Allocator,
    typename CompletionCondition,
    typename WriteHandler = DEFAULT>
DEDUCED async_write_at(
    AsyncRandomAccessWriteDevice & d,
    uint64_t offset,
    basic_streambuf< Allocator > & b,
    CompletionCondition completion_condition,
    WriteHandler && handler = DEFAULT);

[AsyncRandomAccessWriteDevice, CompletionCondition, WriteHandler, DEFAULT, DEDUCED, async_write_at]

요구사항

일반 헤더: boost/asio/write_at.hpp
편의 헤더: boost/asio.hpp

Boost.Asio 홈

728x90
반응형