| 115 | // The resulting output into the stream has the total serialized length of all of the objects followed by all objects concatenated with each other. |
| 116 | template<typename Stream, typename... X> |
| 117 | void SerializeToVector(Stream& s, const X&... args) |
| 118 | { |
| 119 | SizeComputer sizecomp; |
| 120 | SerializeMany(sizecomp, args...); |
| 121 | WriteCompactSize(s, sizecomp.size()); |
| 122 | SerializeMany(s, args...); |
| 123 | } |
| 124 | |
| 125 | // Takes a stream and multiple arguments and unserializes them first as a vector then each object individually in the order provided in the arguments |
| 126 | template<typename Stream, typename... X> |
no test coverage detected