System::IO::Stream::Read 메서드

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

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

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

ReturnValue

읽은 바이트 수

또 보기

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

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

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

ReturnValue

읽은 바이트 수

또 보기

Stream::Read(const System::Details::StackArray<uint8_t, N>&, int32_t, int32_t) method

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

template<std::size_t> int32_t System::IO::Stream::Read(const System::Details::StackArray<uint8_t, N> &buffer, int32_t offset, int32_t count)
매개변수설명
N스택 배열의 크기
매개변수형식설명
버퍼const System::Details::StackArray<uint8_t, N>&읽은 바이트를 기록할 바이트 스택 배열
offsetint32_tbuffer 내에서 쓰기를 시작하는 0 기반 위치
countint32_t읽을 바이트 수

ReturnValue

읽은 바이트 수

또 보기