MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / ReadString

Method ReadString

Source/SimpleFile.cpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155std::string CSimpleFile::ReadString()
156{
157 const auto Size = ReadUint32();
158 std::string str(Size, '\0');
159 m_fFile.read(str.data(), Size);
160 return str;
161}
162
163std::string CSimpleFile::ReadStringN(size_t count) {
164 char buf[1024] = { };

Callers 5

ReadFromFTIMethod · 0.45
LoadHeaderMethod · 0.45
LoadCommentsMethod · 0.45
LoadBookmarksMethod · 0.45

Calls 2

readMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected