# CSJ2K.j2k.io.BufferedRandomAccessFile.flush

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_io_BufferedRandomAccessFile_flush_" data-uid="CSJ2K.j2k.io.BufferedRandomAccessFile.flush*">flush Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_io_BufferedRandomAccessFile_flush_" data-uid="CSJ2K.j2k.io.BufferedRandomAccessFile.flush*"></a>
<h4 id="CSJ2K_j2k_io_BufferedRandomAccessFile_flush" data-uid="CSJ2K.j2k.io.BufferedRandomAccessFile.flush">flush()</h4>
<div class="markdown level1 summary"><p>Any data that has been buffered must be written (including
buffering at the bit level), and the stream should be realigned
at the byte level.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void flush()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub flush()</code></pre>
</div>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="CSJ2K.j2k.io.BinaryDataOutput.flush.html#CSJ2K_j2k_io_BinaryDataOutput_flush">BinaryDataOutput.flush()</a></div>
</div>
