MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / ReadFromFile

Function ReadFromFile

SampleFramework12/v1.00/FileIO.h:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83// Reads a POD type from a file
84template<typename T> void ReadFromFile(const wchar* fileName, T& val)
85{
86 File file(fileName, File::OpenRead);
87 file.Read(val);
88}
89
90// Writes a POD type to a file
91template<typename T> void WriteToFile(const wchar* fileName, const T& val)

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected