/nstream

Simple framework for defining custom C++ streams.

Primary LanguageC++

nova::stream

nova::stream is a single-include-file C++ framework to help defining input/output streams.

nova::stream is similar to boost::iostreams. If you're wondering why I had to write my own streams library rather than using excellent boost::iostreams I answer it in "Why new stream library"

The features of nova::stream

  • Very small. Single include file. No dependencies.
  • Supports input stream, output streams and devices shared between input and output streams
  • Allows to provide a buffer directly to input or output stream for performance reasons
  • Works with C++17, but should also compile with C++14 and likely with C++11

For details on how to write C++ streams with nova::stream check out the Tutorial

nova::stream also has an exceptional performance