Parse Clutter Filter Map (Message 15)

This commit is contained in:
Dan Paulat 2021-06-15 21:59:38 -05:00
parent f36d57b71d
commit 3ab4ec4b9b
15 changed files with 682 additions and 22 deletions

View file

@ -0,0 +1,19 @@
#include <scwx/util/vectorbuf.hpp>
namespace scwx
{
namespace util
{
vectorbuf::vectorbuf(std::vector<char>& v) : v_(v)
{
update_read_pointers(0);
}
void vectorbuf::update_read_pointers(size_t size)
{
setg(v_.data(), v_.data(), v_.data() + size);
}
} // namespace util
} // namespace scwx