# CSJ2K.j2k.io.BinaryDataOutput.flush

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_io_BinaryDataOutput_flush_" data-uid="CSJ2K.j2k.io.BinaryDataOutput.flush*">flush Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_io_BinaryDataOutput_flush_" data-uid="CSJ2K.j2k.io.BinaryDataOutput.flush*"></a>
<h4 id="CSJ2K_j2k_io_BinaryDataOutput_flush" data-uid="CSJ2K.j2k.io.BinaryDataOutput.flush">flush()</h4>
<div class="markdown level1 summary"><p>Any data that has been buffered must be written, 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">void flush()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub flush()</code></pre>
</div>
</div>
