HttpRequestStreamReader.Read 方法

定义

重载

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

Read()

Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs

读取文本读取器中的下一个字符并使该字符的位置前移一个字符。

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

返回

适用于

Read(Span<Char>)

Source:
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)

Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs
Source:
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

返回

适用于