System::IO::FileStream::Read method

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

ストリームから指定されたバイト数を読み取り、指定されたバイト配列に書き込みます。

int32_t System::IO::FileStream::Read(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count) override
パラメーター説明
バッファconst ArrayPtr<uint8_t>&読み取ったバイトを書き込むためのバイト配列。
offsetint32_tbuffer 内で書き込みを開始する 0 ベースの位置。
countint32_t読み取るバイト数です。

ReturnValue

読み取られたバイト数。

参照

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

ストリームから指定されたバイト数を読み取り、指定されたバイト配列に書き込みます。

int32_t System::IO::FileStream::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

読み取られたバイト数。

参照