Skip to content
Evan Swick edited this page Feb 19, 2016 · 2 revisions

A Stream is a protocol used for reading and writing to sequential data streams.

Variables

  • canRead: Bool
    • Whether this stream supports being read from
  • canWrite: Bool
    • Whether this stream supports being written to
  • canTimeout: Bool
    • Whether this stream supports timing out
  • canSeek: Bool
    • Whether this stream supports seeking
  • position: Int64
    • The stream's current position
  • readTimeout: UInt
    • The time (in milliseconds) a read operation must complete by
  • writeTimeout: UInt
    • The time (in milliseconds) a write operation must complete by
Clone this wiki locally