System.IO.BufferedStream

E697498

System.IO.BufferedStream is a .NET stream wrapper that adds an in-memory buffer to another stream to improve read and write performance.

All labels observed (3)

How this entity was disambiguated

Statements (52)

Predicate Object
instanceOf .NET class
buffered stream
stream wrapper
assembly System.Runtime.dll
mscorlib.dll
baseClass System.IO.Stream
bufferLocation managed memory
canWrap any readable or writable Stream
designGoal reduce number of I/O operations on underlying stream
hasConstructor BufferedStream(Stream stream)
BufferedStream(Stream stream, int bufferSize)
introducedIn .NET Framework 2.0
linked to: .NET Framework
isAbstract false
isPublic true
isSealed false
method Close()
Dispose()
Flush()
FlushAsync(CancellationToken cancellationToken)
Read(byte[] buffer, int offset, int count)
ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ReadByte()
Seek(long offset, SeekOrigin origin)
SetLength(long value)
Write(byte[] buffer, int offset, int count)
WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
WriteByte(byte value)
namespace System.IO
overrides System.IO.Stream.Dispose
System.IO.Stream.Flush
linked to: System.IO.Stream

System.IO.Stream.Read
linked to: System.IO.Stream

System.IO.Stream.Seek
linked to: System.IO.Stream

System.IO.Stream.SetLength
System.IO.Stream.Write
linked to: System.IO.Stream
property CanRead
CanSeek
CanWrite
Length
Position
ReadTimeout
WriteTimeout
purpose improve read performance by buffering data in memory
improve write performance by buffering data in memory
requires seek support only if seeking is used
supports asynchronous read operations
asynchronous write operations
synchronous read operations
synchronous write operations
threadSafety instance members are not guaranteed to be thread-safe
typicalUsage wrap FileStream for improved performance
wrap NetworkStream for improved performance
wraps System.IO.Stream

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.IO containsType System.IO.BufferedStream
System.IO.Stream isBaseClassOf System.IO.BufferedStream
System.IO.Stream hasMethod System.Threading.Tasks.Task FlushAsync()
linked to: System.IO.BufferedStream
System.IO.BufferedStream hasConstructor BufferedStream(Stream stream, int bufferSize)
linked to: System.IO.BufferedStream