System::IO::Stream::BeginRead 메서드

Stream::BeginRead method

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

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

ReturnValue

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

또 보기