setLength

suspend fun setLength(newSize: Long)

Truncates or extends the file to newSize bytes (FileEndOfFileInformation).