共用方式為


HttpRequestStreamReader.Read 方法

定義

多載

Read()
Read(Span<Char>)
Read(Char[], Int32, Int32)

Read()

來源:
HttpRequestStreamReader.cs
來源:
HttpRequestStreamReader.cs
來源:
HttpRequestStreamReader.cs

自文字讀取器讀取下一個字元,並將字元位置前移一個字元。

public:
 override int Read();
public override int Read ();
override this.Read : unit -> int
Public Overrides Function Read () As Integer

傳回

適用於

Read(Span<Char>)

來源:
HttpRequestStreamReader.cs

從目前的讀取器讀取字元,並將資料寫入至指定的緩衝區。

public:
 override int Read(Span<char> buffer);
public override int Read (Span<char> buffer);
override this.Read : Span<char> -> int
Public Overrides Function Read (buffer As Span(Of Char)) As Integer

參數

buffer
Span<Char>

傳回

適用於

Read(Char[], Int32, Int32)

來源:
HttpRequestStreamReader.cs
來源:
HttpRequestStreamReader.cs
來源:
HttpRequestStreamReader.cs

從目前讀取器讀取指定的最大字元數目,並從指定的索引開始將資料寫入緩衝區。

public:
 override int Read(cli::array <char> ^ buffer, int index, int count);
public override int Read (char[] buffer, int index, int count);
override this.Read : char[] * int * int -> int
Public Overrides Function Read (buffer As Char(), index As Integer, count As Integer) As Integer

參數

buffer
Char[]
index
Int32
count
Int32

傳回

適用於