# CSJ2K.j2k.entropy.encoder.EBCOTRateAllocator.runAndWrite

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_entropy_encoder_EBCOTRateAllocator_runAndWrite_" data-uid="CSJ2K.j2k.entropy.encoder.EBCOTRateAllocator.runAndWrite*">runAndWrite Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_entropy_encoder_EBCOTRateAllocator_runAndWrite_" data-uid="CSJ2K.j2k.entropy.encoder.EBCOTRateAllocator.runAndWrite*"></a>
<h4 id="CSJ2K_j2k_entropy_encoder_EBCOTRateAllocator_runAndWrite" data-uid="CSJ2K.j2k.entropy.encoder.EBCOTRateAllocator.runAndWrite">runAndWrite()</h4>
<div class="markdown level1 summary"><p>Runs the rate allocation algorithm and writes the data to the bit
stream writer object provided to the constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void runAndWrite()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub runAndWrite()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="CSJ2K.j2k.entropy.encoder.PostCompRateAllocator.runAndWrite.html#CSJ2K_j2k_entropy_encoder_PostCompRateAllocator_runAndWrite">PostCompRateAllocator.runAndWrite()</a></div>
</div>
