/StreamKit

Cross-platform data stream library written in Swift. (personal project to get more familiar with Swift)

Primary LanguageSwiftMIT LicenseMIT

StreamKit

StreamKit is a cross-platform stream library written in pure Swift. It is intended to make the handling of data streams much easier.

It is currently in the development stage, and not ready for production use.

Currently provided is the Stream protocol, with basic functions such as read(), write(), and close().

I am looking for community input on the project. I intend for this library to be widely used, so API design is crucial.

Usage

For usage information, check the wiki.

Checklist

  • Streams
    • IOStream (read/write to UNIX file descriptors)
    • File Stream (read/write to files)
    • Memory Stream (read/write to byte array)
    • Compression Streams
      • Deflate
      • Gzip
      • LZMA
  • Base Protocol
    • Shorthand Operators
      • <<
      • >>
    • Data Type Support
      • UInt8
      • UInt16
      • UInt32
      • UInt64
      • Int8
      • Int16
      • Int32
      • Int64
      • Float
      • Double
      • Bool
      • String
    • Read
    • Write
    • Close
    • Seek
    • Timeouts