| 13 | using namespace ax; |
| 14 | |
| 15 | csmByte* LAppPal::LoadFileAsBytes(const csmChar* filePath, csmSizeInt* outSize) |
| 16 | { |
| 17 | ssize_t size = 0; |
| 18 | csmByte* buf = FileUtils::getInstance()->getDataFromFile(filePath).takeBuffer(&size); |
| 19 | *outSize = static_cast<csmSizeInt>(size); |
| 20 | return buf; |
| 21 | } |
| 22 | |
| 23 | void LAppPal::ReleaseBytes(csmByte* byteData) |
| 24 | { |
nothing calls this directly
no test coverage detected