truncate method

void truncate()

Truncates the file to zero bytes in length.

Implementation

void truncate() {
  _raf.truncateSync(0);
}