MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / read_file_string

Method read_file_string

components/filesystem/src/filesystem.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54std::string FileSystem::read_file_string(const Path &path)
55{
56 auto bin = read_file_binary(path);
57 return {bin.begin(), bin.end()};
58}
59
60std::vector<uint8_t> FileSystem::read_file_binary(const Path &path)
61{

Callers 1

read_text_fileFunction · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected