Gets System.IO.BufferedStream of given buffer size.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public Stream GetBufferedStream() |
Visual Basic |
---|
Public Function GetBufferedStream As Stream |
Visual C++ |
---|
public: Stream^ GetBufferedStream() |
Return Value
An instance of System.IO.BufferedStream with buffer size of 4Kb.Remarks
CacheStream does not buffer the data. Each read/write operation performed on the stream is
propagated to cache. However this can cause performance issues if small chunks of data are being
read/written from/to stream. System.IO.BufferedStream supports buffering of data. This method
returns an instance of System.IO.BufferedStream which encapsulates CacheStream.