thod</h1>

    <section class="multi-line-signature">
      <span class="returntype">void</span>
      <span class="name ">truncateSync</span>
(<wbr><span class="parameter" id="truncateSync-param-length"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">length</span></span>)
    </section>
    <section class="desc markdown">
      <p>Synchronously truncates (or extends) the file to <code>length</code> bytes.</p>
<p>Throws a <a href="dart-io/FileSyst