truncate

fun truncate(newSize: UInt53)(source)

The truncate() method of the ``js-nolint truncate(newSize) `` - newSize - : The number of bytes to resize the file to.

MDN Reference