vstreams: c++ implementation
vstreams: (almost) C implementation