Read メソッド
| 編集/提案 ソースを表示Read(Byte[], Int32, Int32)
現在のストリームからバイト配列を読み取ります。
宣言
public override int Read(byte[] buffer, int offset, int count)
引数
| 型 | 名前 | 説明 |
|---|---|---|
| System.Byte[] | buffer | 読み取ったデータを格納するバイト配列です。 |
| System.Int32 | offset | バイト配列の格納先の先頭位置です。 |
| System.Int32 | count | 読み取るデータの個数です。 |
戻り値
| 型 | 説明 |
|---|---|
| System.Int32 | 読み取る事ができたデータの個数です。 |
上書き
System.IO.Stream.Read(System.Byte[], System.Int32, System.Int32)
例外
| 型 | 条件 |
|---|---|
| System.ObjectDisposedException | |
| System.ArgumentNullException | |
| System.ArgumentOutOfRangeException |