Size
Creates a file using zeroes to meet the specified size.
The file content will be empty, however:
If you add content to the file, the size will increase from the specified size.
If you overwrite the file, it will reset the size.
Example:
test.txt is 55 bytes, but there is no content.
test.txt is now 66 bytes
test.txt is now 11 bytes because it was completely overwritten.
Last updated
Was this helpful?