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)
  3. void truncate()
  4. void truncate(long size)
    class File
    version(Posix)
    override
    void
    truncate
    (
    long size
    )

Meta