File.truncate

Set the file size to be the specified length. The file must be writable for this to succeed.

  1. void truncate()
  2. void truncate(long size)
    class File
    override
    void
    truncate
    (
    long size
    )

Meta