Remove implicit handle of final \0 in ByteArray

This commit is contained in:
2021-09-28 14:58:41 +02:00
parent 47a38b1ebc
commit dc15fc7197
3 changed files with 4 additions and 4 deletions

View File

@@ -293,7 +293,7 @@ namespace gourou
*/
static inline void writeFile(std::string path, ByteArray& data)
{
writeFile(path, data.data(), data.length()-1);
writeFile(path, data.data(), data.length());
}
/**