#pragma once #include "Runtime/rstl.hpp" #include "Runtime/Streams/CInputStream.hpp" namespace metaforce { template void read_reserved_vector(rstl::reserved_vector& v, CInputStream& in) { u32 count = in.ReadLong(); v.resize(count); for (u32 i = 0; i < count; ++i) { v[i] = in.Get(); } } } // namespace metaforce