BufferedStream()

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)

Arguments

ParameterTypeDescription
streamconst SharedPtr<Stream>&The underlying Stream object

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)

Arguments

ParameterTypeDescription
streamconst SharedPtr<Stream>&The underlying Stream object
bufferSizeintThe size of the buffer in bytes

See Also