This preview shows page 1. Sign up to view the full content.
Unformatted text preview: nchronous support
Call BeginRead() or BeginWrite() and pass callback
Callback is invoked as soon as data is received.
Asynchronous call completed with
Can open and access files directly
Actual type returned by File.Open() System.IO.MemoryStream
Constructs a stream in-memory 23 I/O and Networking
Higher level access to Stream reading functions
Designed for typed access to stream contents
Read methods for most core data types
ReadInt16(), ReadBoolean(), ReadDouble(), etc. System.IO.TextReader
Abstract base class for reading strings from streams System.IO.StreamReader (inherits TextReader)
ReadLine() reads to newline
ReadToEnd() reads full stream into string System.IO.StringReader (inherits TextReader)
Simulates stream input from string I/O and Networking
High-level access to Stream writing functions
Designed for typed writes to streams
>15 strongly typed overloads for Write() method System...
View Full Document
- Summer '08