MCPcopy Create free account
hub / github.com/Illation/ETEngine / ReadNullString

Method ReadNullString

Engine/source/EtCore/FileSystem/BinaryReader.cpp:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41std::string BinaryReader::ReadNullString()
42{
43 if (m_pReader == nullptr)
44 {
45 LOG("BinaryReader doesn't exist! Unable to read binary data...", Warning);
46 return "";
47 }
48
49 std::string buff;
50 getline(*m_pReader, buff, '\0');
51
52 return std::string(buff.begin(), buff.end());
53}
54
55
56std::string BinaryReader::ReadString()

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected