truncateSync method

  1. @override
void truncateSync(
  1. int length
)
override

Synchronously truncates (or extends) the file to length bytes.

Throws a FileSystemException if the operation fails.

Implementation

@override
void truncateSync(int length) => delegate.truncateSync(length);