# CSJ2K.j2k.io.BinaryDataOutput.ByteOrdering

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_io_BinaryDataOutput_ByteOrdering_" data-uid="CSJ2K.j2k.io.BinaryDataOutput.ByteOrdering*">ByteOrdering Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_io_BinaryDataOutput_ByteOrdering_" data-uid="CSJ2K.j2k.io.BinaryDataOutput.ByteOrdering*"></a>
<h4 id="CSJ2K_j2k_io_BinaryDataOutput_ByteOrdering" data-uid="CSJ2K.j2k.io.BinaryDataOutput.ByteOrdering">ByteOrdering</h4>
<div class="markdown level1 summary"><p>Returns the endianness (i.e., byte ordering) of the implementing
class. Note that an implementing class may implement only one
type of endianness or both, which would be decided at creatiuon
time.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int ByteOrdering { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">ReadOnly Property ByteOrdering As Integer</code></pre>
</div>
<h5 class="propertyValue">Property Value</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><p>Either <tt>EndianType.BIG_ENDIAN</tt> or
<tt>EndianType.LITTLE_ENDIAN</tt></p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="CSJ2K_j2k_io_BinaryDataOutput_ByteOrdering_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="CSJ2K.j2k.io.EndianType.html">EndianType</a></div>
</div>
</div>
