System::IO::Stream::BeginWrite 메서드

Stream::BeginWrite method

비동기 쓰기 작업을 시작합니다.

virtual System::SharedPtr<System::IAsyncResult> System::IO::Stream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int offset, int count, System::AsyncCallback callback, System::SharedPtr<System::Object> state)
매개변수형식설명
버퍼System::ArrayPtr<uint8_t>쓰기 위한 데이터를 포함하는 버퍼
offsetintbuffer 내의 0 기반 오프셋으로, 쓰기 데이터가 시작되는 위치를 나타냅니다
countint쓰기할 바이트 수
콜백System::AsyncCallback작업이 완료될 때 호출되는 콜백
상태System::SharedPtr<System::Object>각 비동기 쓰기 작업을 고유하게 식별하기 위해 사용자가 제공한 데이터

ReturnValue

시작된 비동기 쓰기 작업을 나타내는 IAsyncResult 객체

또 보기