MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / string LoadFileText

Method string LoadFileText

include/Functions.hpp:73–78  ·  view source on GitHub ↗

* Load text data from file (read) */

Source from the content-addressed store, hash-verified

71 * Load text data from file (read)
72 */
73RLCPP_MAYBEUNUSED RLCPPAPI std::string LoadFileText(const std::string& fileName) {
74 char* text = ::LoadFileText(fileName.c_str());
75 std::string output(text);
76 ::UnloadFileText(text);
77 return output;
78}
79
80/**
81 * Save text data to file (write)

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected