# CSJ2K.j2k.io.RandomAccessIO.read

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_io_RandomAccessIO_read_" data-uid="CSJ2K.j2k.io.RandomAccessIO.read*">read Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_io_RandomAccessIO_read_" data-uid="CSJ2K.j2k.io.RandomAccessIO.read*"></a>
<h4 id="CSJ2K_j2k_io_RandomAccessIO_read" data-uid="CSJ2K.j2k.io.RandomAccessIO.read">read()</h4>
<div class="markdown level1 summary"><p>Reads a byte of data from the stream. Prior to reading, the stream is
realigned at the byte level.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">byte read()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function read() As Byte</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.byte">byte</a></td>
      <td><p>The byte read, as an int.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
