HttpRequestStreamReader 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
HttpRequestStreamReader(Stream, Encoding)
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
初始化 HttpRequestStreamReader 的新实例。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding)
参数
- encoding
- Encoding
要使用的字符编码。
适用于
HttpRequestStreamReader(Stream, Encoding, Int32)
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
初始化 HttpRequestStreamReader 的新实例。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer)
参数
- encoding
- Encoding
要使用的字符编码。
- bufferSize
- Int32
最小缓冲区大小。
适用于
HttpRequestStreamReader(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
- Source:
- HttpRequestStreamReader.cs
初始化 HttpRequestStreamReader 的新实例。
public:
HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool, System::Buffers::ArrayPool<char> ^ charPool);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize, System.Buffers.ArrayPool<byte> bytePool, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int * System.Buffers.ArrayPool<byte> * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer, bytePool As ArrayPool(Of Byte), charPool As ArrayPool(Of Char))
参数
- encoding
- Encoding
要使用的字符编码。
- bufferSize
- Int32
最小缓冲区大小。