HttpResponseStreamWriter 构造函数

定义

重载

HttpResponseStreamWriter(Stream, Encoding)

初始化 HttpResponseStreamWriter 的新实例。

HttpResponseStreamWriter(Stream, Encoding, Int32)

初始化 HttpResponseStreamWriter 的新实例。

HttpResponseStreamWriter(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)

初始化 HttpResponseStreamWriter 的新实例。

HttpResponseStreamWriter(Stream, Encoding)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

初始化 HttpResponseStreamWriter 的新实例。

public:
 HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
Public Sub New (stream As Stream, encoding As Encoding)

参数

stream
Stream

HTTP 响应 Stream

encoding
Encoding

要使用的字符编码。

适用于

HttpResponseStreamWriter(Stream, Encoding, Int32)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

初始化 HttpResponseStreamWriter 的新实例。

public:
 HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding * int -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer)

参数

stream
Stream

HTTP 响应 Stream

encoding
Encoding

要使用的字符编码。

bufferSize
Int32

最小缓冲区大小。

适用于

HttpResponseStreamWriter(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

初始化 HttpResponseStreamWriter 的新实例。

public:
 HttpResponseStreamWriter(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool, System::Buffers::ArrayPool<char> ^ charPool);
public HttpResponseStreamWriter (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize, System.Buffers.ArrayPool<byte> bytePool, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.Stream * System.Text.Encoding * int * System.Buffers.ArrayPool<byte> * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer, bytePool As ArrayPool(Of Byte), charPool As ArrayPool(Of Char))

参数

stream
Stream

HTTP 响应 Stream

encoding
Encoding

要使用的字符编码。

bufferSize
Int32

最小缓冲区大小。

bytePool
ArrayPool<Byte>

字节数组池。

charPool
ArrayPool<Char>

char 数组池。

适用于