# CSJ2K.j2k.codestream.reader.PktInfo.segLengths

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="CSJ2K_j2k_codestream_reader_PktInfo_segLengths" data-uid="CSJ2K.j2k.codestream.reader.PktInfo.segLengths" class="text-break">segLengths Field
</h1>
<div class="markdown level0 summary"><p>The length of each terminated segment in the packet. The total is the
same as 'cbLength'. It can be null if there is only one terminated
segment, in which case 'cbLength' holds the legth of that segment</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.codestream.reader.html">CSJ2K.j2k.codestream.reader</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
<h5 id="CSJ2K_j2k_codestream_reader_PktInfo_segLengths_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int[] segLengths</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public segLengths As Integer()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td>The length of each terminated segment in the packet. The total is the same as 'cbLength'. It can be null if there is only one terminated segment, in which case 'cbLength' holds the legth of that segment</td>
    </tr>
  </tbody>
</table>
</div>
