I am trying to find a cross-platform method to delete X bytes from the end of a file.
X
Currently I have found:
Platform specific solutio
There is no such thing in the Standard library. They support streams- but streams don't have ends, files happen to have ends- at the current time.
All you can do is write a cross-platform wrapper on the function.