MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / readFile

Function readFile

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:1899–1906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1897}
1898
1899void readFile(std::istream &s, std::vector<char> &data)
1900{
1901 s.seekg(0, std::ios_base::end);
1902 data.resize(s.tellg());
1903 s.clear();
1904 s.seekg(0, std::ios_base::beg);
1905 s.read(data.data(), data.size());
1906}

Callers 1

createShaderModuleFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected