# CSJ2K.j2k.entropy.encoder.LayersInfo.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_entropy_encoder_LayersInfo__ctor_" data-uid="CSJ2K.j2k.entropy.encoder.LayersInfo.#ctor*">LayersInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_entropy_encoder_LayersInfo__ctor_" data-uid="CSJ2K.j2k.entropy.encoder.LayersInfo.#ctor*"></a>
<h4 id="CSJ2K_j2k_entropy_encoder_LayersInfo__ctor_System_Single_" data-uid="CSJ2K.j2k.entropy.encoder.LayersInfo.#ctor(System.Single)">LayersInfo(float)</h4>
<div class="markdown level1 summary"><p>Creates a new LayersInfo object. The overall target bitrate 'brate' is
always an extra optimization point, with no extra layers are after
it. Note that any optimization points that are added with addOptPoint()
are always added before the overall target bitrate.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayersInfo(float brate)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(brate As Single)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">brate</span></td>
      <td><p>The overall target bitrate for the bit stream</p>
</td>
    </tr>
  </tbody>
</table>
</div>
