Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ReadAsString
Method
ReadAsString
libs/coding/reader.cpp:3–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include
"coding/reader.hpp"
2
3
void Reader::ReadAsString(std::string & s) const
4
{
5
s.clear();
6
s.resize(static_cast<size_t>(Size()));
7
Read(0 /* pos */, s.data(), s.size());
8
}
Callers
15
ParseUserTracksFromFile
Method · 0.45
UnzipAndMatch
Function · 0.45
ReadRegionDataImpl
Function · 0.45
DeserializeFromJson
Function · 0.45
LoadBrands
Function · 0.45
MainWindow
Method · 0.45
AboutDialog
Method · 0.45
main
Function · 0.45
UNIT_TEST
Function · 0.45
UNIT_TEST
Function · 0.45
UNIT_TEST
Function · 0.45
ReadTestData
Function · 0.45
Calls
6
Size
Function · 0.85
Read
Function · 0.70
clear
Method · 0.45
resize
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
10
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
ReadTestData
Function · 0.36
LoadGpxFromFile
Function · 0.36
ReadFile
Function · 0.36
UNIT_TEST
Function · 0.36
UNIT_TEST
Function · 0.36
UNIT_CLASS_TEST
Function · 0.36
ReadFileAsString
Function · 0.36