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

Method AsText

Engine/source/EtCore/FileSystem/FileUtil.cpp:33–36  ·  view source on GitHub ↗

--------------------------------- FileUtil::AsText Converts a byte vector to an std::string

Source from the content-addressed store, hash-verified

31// Converts a byte vector to an std::string
32//
33std::string FileUtil::AsText(const std::vector<uint8> &data)
34{
35 return std::string(data.begin(), data.end());
36}
37
38//---------------------------------
39// FileUtil::AsText

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected