Dela via


HttpRequestStreamReader.Read Method

Definition

Overloads

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

Read()

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

Reads the next character from the text reader and advances the character position by one character.

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

Returns

Applies to

Read(Span<Char>)

Source:
HttpRequestStreamReader.cs

Reads the characters from the current reader and writes the data to the specified buffer.

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

Parameters

buffer
Span<Char>

Returns

Applies to

Read(Char[], Int32, Int32)

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

Reads a specified maximum number of characters from the current reader and writes the data to a buffer, beginning at the specified index.

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

Parameters

buffer
Char[]
index
Int32
count
Int32

Returns

Applies to