.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
by Brad Abrams
Description
System.IO.FileStream is used for reading and writing files on a file system, as well as other file-related operating system handles such as pipes, standard input, standard output. System.IO.FileStream buffers input and output for better performance.
The System.IO.FileStream class can open a file in one of two modes, either synchronously or asynchronously, with significant performance consequences for the synchronous methods (System.IO.FileStream.Read and System.IO.File-Stream.Write) and the asynchronous methods (System.IO.FileStream.BeginRead and System.IO.FileStream.BeginWrite). Both sets of methods will work in either mode; however, the mode will affect the performance of these methods. System.IO.FileStream defaults to opening files ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access