File.truncate

Set the file size to be that of the current seek position. The file must be writable for this to succeed.

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

Meta