System::IO::BasicSTDIOStreamWrapper::Read 메서드

BasicSTDIOStreamWrapper::Read(const ArrayPtr<uint8_t>&, int32_t, int32_t) method

래핑 모드가 바이너리인 경우 스트림에서 지정된 바이트 수를 읽고, 그렇지 않으면 지정된 문자 수를 읽어 uint8_t 타입으로 변환합니다. 읽은 결과를 지정된 바이트 배열에 씁니다.

virtual int32_t System::IO::BasicSTDIOStreamWrapper<T, typename>::Read(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count) override
매개변수형식설명
버퍼const ArrayPtr<uint8_t>&읽은 바이트를 쓸 바이트 배열
offsetint32_tbuffer 내에서 쓰기를 시작하는 0 기반 위치
countint32_t읽을 바이트 수

ReturnValue

읽은 바이트 또는 문자 수

또 보기

BasicSTDIOStreamWrapper::Read(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method

스트림에서 지정된 바이트 수를 읽어 지정된 바이트 배열에 씁니다.

virtual int32_t System::IO::BasicSTDIOStreamWrapper<T, typename>::Read(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t count) override
매개변수형식설명
버퍼const System::Details::ArrayView<uint8_t>&읽은 바이트를 쓸 바이트 배열 뷰
offsetint32_tbuffer 내에서 쓰기를 시작하는 0 기반 위치
countint32_t읽을 바이트 수

ReturnValue

읽은 바이트 수

또 보기