# GrapeCity.Documents.Common.BigEndianBinaryReader

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Common_BigEndianBinaryReader" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader" class="text-break">BigEndianBinaryReader Class
</h1>
  <div class="markdown level0 summary"><p>Analog of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.binaryreader">BinaryReader</a> but uses big-endian byte order.</p>
</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">BigEndianBinaryReader</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Common.html">GrapeCity.Documents.Common</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Common_BigEndianBinaryReader_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BigEndianBinaryReader : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BigEndianBinaryReader
    Implements IDisposable</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="GrapeCity_Documents_Common_BigEndianBinaryReader__ctor_System_IO_Stream_System_Boolean_" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.#ctor(System.IO.Stream,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.-ctor.html#GrapeCity_Documents_Common_BigEndianBinaryReader__ctor_System_IO_Stream_System_Boolean_">BigEndianBinaryReader(Stream, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.html">BigEndianBinaryReader</a> class.</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="GrapeCity_Documents_Common_BigEndianBinaryReader_Dispose" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.Dispose">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.Dispose.html#GrapeCity_Documents_Common_BigEndianBinaryReader_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases all resources used by the current instance of the <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.html">BigEndianBinaryReader</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_Dispose_System_Boolean_" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.Dispose.html#GrapeCity_Documents_Common_BigEndianBinaryReader_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the unmanaged resources used by the <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.html">BigEndianBinaryReader</a> class and optionally releases the managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadBytes_System_Int32_" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadBytes(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadBytes.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadBytes_System_Int32_">ReadBytes(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt16" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt16">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt16.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt16">ReadInt16()</a>
        </td>
        <td class="markdown level1 summary"><p>Reads a 2-byte signed integer from the current stream and advances the current position of the stream by four bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt32" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt32">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt32.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt32">ReadInt32()</a>
        </td>
        <td class="markdown level1 summary"><p>Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt32LE" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt32LE">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadInt32LE.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadInt32LE">ReadInt32LE()</a>
        </td>
        <td class="markdown level1 summary"><p>Reads a 4-byte signed integer from the current stream using little-ending byte order and advances the current position of the stream by four bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadUInt16" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadUInt16">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadUInt16.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadUInt16">ReadUInt16()</a>
        </td>
        <td class="markdown level1 summary"><p>Reads a 2-byte unsigned integer from the current stream and advances the current position of the stream by four bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Common_BigEndianBinaryReader_ReadUInt32" data-uid="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadUInt32">
          <a class="xref" href="GrapeCity.Documents.Common.BigEndianBinaryReader.ReadUInt32.html#GrapeCity_Documents_Common_BigEndianBinaryReader_ReadUInt32">ReadUInt32()</a>
        </td>
        <td class="markdown level1 summary"><p>Reads a 4-byte unsigned integer from the current stream and advances the current position of the stream by four bytes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
