truncateSync abstract method

void truncateSync(
  1. int length
)

Cuts the file to length bytes. Must not extend.

Implementation

void truncateSync(int length);