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.
For usage information, check the wiki.
- 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
- Shorthand Operators