libstream is a fast I/O stream library written in C. It supports common stringstream operations such as read(), write(), and peak(). Instead of using one large buffer, libstream splits its internal buffer into a linked list of fixed-size chunks, thus featuring a more efficient memory footprint. There are no external dependencies.