co-maps/libs/coding/reader.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
178 B
C++
Raw Permalink Normal View History

2025-11-22 13:58:55 +01:00
#include "coding/reader.hpp"
void Reader::ReadAsString(std::string & s) const
{
s.clear();
s.resize(static_cast<size_t>(Size()));
Read(0 /* pos */, s.data(), s.size());
}