--------------------------------- FileUtil::FromText Converts an std::string to a byte array
| 51 | // Converts an std::string to a byte array |
| 52 | // |
| 53 | std::vector<uint8> FileUtil::FromText(const std::string &data) |
| 54 | { |
| 55 | return std::vector<uint8>(data.begin(), data.end()); |
| 56 | } |
| 57 | |
| 58 | //--------------------------------- |
| 59 | // FileUtil::GetCompiledResource |