System.IO.FileStream
E697497
System.IO.FileStream is a .NET class that provides a stream for reading from and writing to files on disk with support for synchronous and asynchronous I/O operations.
Statements (55)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
class ⓘ stream type ⓘ |
| assembly |
System.Runtime
NERFINISHED
ⓘ
mscorlib NERFINISHED ⓘ |
| hasConstructorParameter |
System.IO.FileAccess access
ⓘ
System.IO.FileMode mode ⓘ System.IO.FileOptions options ⓘ System.IO.FileShare share ⓘ bool useAsync ⓘ int bufferSize ⓘ string path ⓘ |
| hasMethod |
System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count)
ⓘ
System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count) ⓘ int Read(byte[] buffer, int offset, int count) ⓘ long Seek(long offset, System.IO.SeekOrigin origin) ⓘ void Close() ⓘ void Dispose() ⓘ void Flush() ⓘ void SetLength(long value) ⓘ void Write(byte[] buffer, int offset, int count) ⓘ |
| hasProperty |
IntPtr Handle
ⓘ
SafeFileHandle SafeFileHandle NERFINISHED ⓘ bool CanRead ⓘ bool CanSeek ⓘ bool CanWrite ⓘ long Length ⓘ long Position ⓘ string Name ⓘ |
| implements | System.IDisposable NERFINISHED ⓘ |
| inheritsFrom | System.IO.Stream NERFINISHED ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| namespace | System.IO ⓘ |
| platform |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ .NET Standard NERFINISHED ⓘ |
| supports |
asynchronous I/O
ⓘ
buffered I/O ⓘ file handle access ⓘ file length manipulation ⓘ file locking ⓘ file seeking ⓘ file sharing modes ⓘ file truncation ⓘ random access ⓘ sequential access ⓘ synchronous I/O ⓘ |
| threadSafety | instance members are not guaranteed to be thread-safe ⓘ |
| usedFor |
appending to files
ⓘ
creating files ⓘ opening existing files ⓘ overwriting files ⓘ reading files ⓘ writing files ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.