Share via


BufferedReadStream Constructors

Definition

Overloads

BufferedReadStream(Stream, Int32)

Creates a new stream.

BufferedReadStream(Stream, Int32, ArrayPool<Byte>)

Creates a new stream.

BufferedReadStream(Stream, Int32)

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

Creates a new stream.

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)

Parameters

inner
Stream

The stream to wrap.

bufferSize
Int32

Size of buffer in bytes.

Applies to

BufferedReadStream(Stream, Int32, ArrayPool<Byte>)

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

Creates a new stream.

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

Parameters

inner
Stream

The stream to wrap.

bufferSize
Int32

Size of buffer in bytes.

bytePool
ArrayPool<Byte>

ArrayPool for the buffer.

Applies to