truncate method

void truncate(
  1. bool truncate
)

The option for truncating a previous file. Needs write access to work

Implementation

void truncate(bool truncate) {
  _willTruncate = truncate;
}