MyraMath
|
Counts up the size (in bytes) of an instance t of type T, that possesses a T::write(OutputStream) method. More...
Go to the source code of this file.
Classes | |
class | myra::CountingStream |
An OutputStream that just counts up the size of everything you write() to it. More... | |
Functions | |
template<class T > | |
size_t | myra::iosize (const T &t) |
Returns the serialized size (in bytes) of a serializable type T. | |
Counts up the size (in bytes) of an instance t of type T, that possesses a T::write(OutputStream) method.