• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

image

PLAY BUTTON

image

PLAY BUTTON

image

Progress

1/10

Click to flip

10 Cards in this Set

  • Front
  • Back
Exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.
FileStream class
Provides a generic view of a sequence of bytes.
Stream Class (NOT Readers and Writer classes, as they are separate objectives)
Creates a stream whose backing store is memory.
MemoryStream class
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.
BufferedStream class
What are some commonly used FileStream properties?
CanRead, CanSeek, CanTimeout, CanWrite, Handle, Length, Name, Position, ReadTimeout, WriteTimeout.
What are some commonly used FileStream methods?
Close, Flush, Lock, Read, ReadByte, Seek, SetLength, Unlock, Write, WriteByte.
Why would you use the MemoryStream class?
To limit the time a file is open for writing.
What are some common classes that derive from the Stream class?
FileStream, MemoryStream, CryptoStream, NetworkStream, GZipStream
What are some common properties of the Stream class?
CanRead, CanSeek, CanTimeout, CanWrite, Length, Position, ReadTimeout, WriteTimeout
What are some common methods of the Stream class?
Close, Flush, Read, ReadByte, Seek, SetLength, Write, WriteByte