BufferedReadStream 构造函数

定义

重载

BufferedReadStream(Stream, Int32)

创建新流。

BufferedReadStream(Stream, Int32, ArrayPool<Byte>)

创建新流。

BufferedReadStream(Stream, Int32)

Source:
BufferedReadStream.cs
Source:
BufferedReadStream.cs
Source:
BufferedReadStream.cs

创建新流。

public:
 BufferedReadStream(System::IO::Stream ^ inner, int bufferSize);
public BufferedReadStream (System.IO.Stream inner, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.BufferedReadStream : System.IO.Stream * int -> Microsoft.AspNetCore.WebUtilities.BufferedReadStream
Public Sub New (inner As Stream, bufferSize As Integer)

参数

inner
Stream

要包装的流。

bufferSize
Int32

缓冲区的大小(以字节为单位)。

适用于

BufferedReadStream(Stream, Int32, ArrayPool<Byte>)

Source:
BufferedReadStream.cs
Source:
BufferedReadStream.cs
Source:
BufferedReadStream.cs

创建新流。

public:
 BufferedReadStream(System::IO::Stream ^ inner, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool);
public BufferedReadStream (System.IO.Stream inner, int bufferSize, System.Buffers.ArrayPool<byte> bytePool);
new Microsoft.AspNetCore.WebUtilities.BufferedReadStream : System.IO.Stream * int * System.Buffers.ArrayPool<byte> -> Microsoft.AspNetCore.WebUtilities.BufferedReadStream
Public Sub New (inner As Stream, bufferSize As Integer, bytePool As ArrayPool(Of Byte))

参数

inner
Stream

要包装的流。

bufferSize
Int32

缓冲区的大小(以字节为单位)。

bytePool
ArrayPool<Byte>

缓冲区的 ArrayPool。

适用于