MyraMath
Classes
VectorStream.h File Reference

A stream that serialize/deserializes to std::vector<char> buffer. More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <myramath/io/Streams.h>
#include <vector>
Include dependency graph for VectorStream.h:

Go to the source code of this file.

Classes

class  myra::VectorStream
 Wraps a std::vector<char>, presents it as both an InputStream and OutputStream. Useful for hygienic unit testing of classes that serialize. More...
 

Detailed Description

A stream that serialize/deserializes to std::vector<char> buffer.