truncate abstract method

Future<void> truncate(
  1. int length
)

Cuts the file to length bytes. Must not extend.

Implementation

Future<void> truncate(int length);