# CSJ2K.j2k.codestream.writer.HeaderEncoder.baos

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="CSJ2K_j2k_codestream_writer_HeaderEncoder_baos" data-uid="CSJ2K.j2k.codestream.writer.HeaderEncoder.baos" class="text-break">baos Field
</h1>
<div class="markdown level0 summary"><p>The ByteArrayOutputStream to store header data. This handler is kept
in order to use methods not accessible from a general
DataOutputStream. For the other methods, it's better to use variable
hbuf.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.codestream.writer.html">CSJ2K.j2k.codestream.writer</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
<h5 id="CSJ2K_j2k_codestream_writer_HeaderEncoder_baos_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected MemoryStream baos</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected baos As MemoryStream</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.io.memorystream">MemoryStream</a></td>
      <td>The ByteArrayOutputStream to store header data. This handler is kept in order to use methods not accessible from a general DataOutputStream. For the other methods, it's better to use variable hbuf.</td>
    </tr>
  </tbody>
</table>
</div>
