# CSJ2K.j2k.entropy.CodedCBlk

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_entropy_CodedCBlk" data-uid="CSJ2K.j2k.entropy.CodedCBlk" class="text-break">CodedCBlk Class
</h1>
  <div class="markdown level0 summary"><p>This is the generic class to store coded (compressed) code-block. It stores
the compressed data as well as the necessary side-information.</p>
<pre><code>       &lt;p&gt;This class is normally not used. Instead the EncRDCBlk, EncLyrdCBlk and
       the DecLyrdCBlk subclasses are used.&lt;/p&gt;
</code></pre>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CodedCBlk</span></div>
      <div class="level2"><a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.html">DecLyrdCBlk</a></div>
      <div class="level2"><a class="xref" href="CSJ2K.j2k.entropy.encoder.CBlkRateDistStats.html">CBlkRateDistStats</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.entropy.html">CSJ2K.j2k.entropy</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_entropy_CodedCBlk_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CodedCBlk</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CodedCBlk</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk__ctor" data-uid="CSJ2K.j2k.entropy.CodedCBlk.#ctor">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.-ctor.html#CSJ2K_j2k_entropy_CodedCBlk__ctor">CodedCBlk()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new CodedCBlk object wit the default values and without
allocating any space for its members.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk__ctor_System_Int32_System_Int32_System_Int32_System_Byte___" data-uid="CSJ2K.j2k.entropy.CodedCBlk.#ctor(System.Int32,System.Int32,System.Int32,System.Byte[])">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.-ctor.html#CSJ2K_j2k_entropy_CodedCBlk__ctor_System_Int32_System_Int32_System_Int32_System_Byte___">CodedCBlk(int, int, int, byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new CodedCBlk object with the specified values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk_data" data-uid="CSJ2K.j2k.entropy.CodedCBlk.data">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.data.html">data</a>
        </td>
        <td class="markdown level1 summary"><p>The compressed data</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk_m" data-uid="CSJ2K.j2k.entropy.CodedCBlk.m">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.m.html">m</a>
        </td>
        <td class="markdown level1 summary"><p>The vertical index of the code-block, within the subband.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk_n" data-uid="CSJ2K.j2k.entropy.CodedCBlk.n">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.n.html">n</a>
        </td>
        <td class="markdown level1 summary"><p>The horizontal index of the code-block, within the subband.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk_skipMSBP" data-uid="CSJ2K.j2k.entropy.CodedCBlk.skipMSBP">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.skipMSBP.html">skipMSBP</a>
        </td>
        <td class="markdown level1 summary"><p>The number of skipped most significant bit-planes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_CodedCBlk_ToString" data-uid="CSJ2K.j2k.entropy.CodedCBlk.ToString">
          <a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.ToString.html#CSJ2K_j2k_entropy_CodedCBlk_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the contents of the object in a string. The string contains the
following data: 'm', 'n', 'skipMSBP' and 'data.length. This is used for
debugging.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
