System::IO::BufferedStream::BufferedStream constructor

BufferedStream::BufferedStream(const SharedPtr<Stream>&) constructor

Constructs an BufferedStream object that wraps the specified stream and uses a 4096 bytes long buffer.

System::IO::BufferedStream::BufferedStream(const SharedPtr<Stream> &stream)
ParameterTypeDescription
streamconst SharedPtr<Stream>&The underlying Stream object

See Also

BufferedStream::BufferedStream(const SharedPtr<Stream>&, int) constructor

Constructs an BufferedStream object that wraps the specified stream and uses a buffer of the specified size.

System::IO::BufferedStream::BufferedStream(const SharedPtr<Stream> &stream, int bufferSize)
ParameterTypeDescription
streamconst SharedPtr<Stream>&The underlying Stream object
bufferSizeintThe size of the buffer in bytes

See Also