asl
6 years agoVisitor
Working with files
Hello, I'm trying to work with files and the only way I can find is by using the "roByteArray" object and it lacks some basic operations like:
- Truncate a file to a certain size
- Read/Write a text file per lines
Text lines can be manually implemented with ReadFile and WriteFile functions, but what about truncating a file? Is there any other way of working with files besides "roByteArray"? How can I truncate a file at a certain position?
Thanks.
- Truncate a file to a certain size
- Read/Write a text file per lines
Text lines can be manually implemented with ReadFile and WriteFile functions, but what about truncating a file? Is there any other way of working with files besides "roByteArray"? How can I truncate a file at a certain position?
Thanks.