truncate method

Future<void> truncate()

Truncates the file to zero bytes in length.

Implementation

Future<void> truncate() async => (await _raf).truncate(0);