# CSJ2K.Icc.ICCProfile.getInt

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_Icc_ICCProfile_getInt_" data-uid="CSJ2K.Icc.ICCProfile.getInt*">getInt Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_Icc_ICCProfile_getInt_" data-uid="CSJ2K.Icc.ICCProfile.getInt*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_getInt_System_Byte___System_Int32_System_Boolean_" data-uid="CSJ2K.Icc.ICCProfile.getInt(System.Byte[],System.Int32,System.Boolean)">getInt(byte[], int, bool)</h4>
<div class="markdown level1 summary"><p>Create an int from a byte [4], with optional byte swapping.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static int getInt(byte[] bfr, int off, bool swap)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function getInt(bfr As Byte(), off As Integer, swap As Boolean) As Integer</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</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><span class="parametername">bfr</span></td>
      <td><p>data array</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">off</span></td>
      <td><p>start of data in array</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">swap</span></td>
      <td><p>swap bytes?</p>
</td>
    </tr>
  </tbody>
</table>
<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><p>native type from representation.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_Icc_ICCProfile_getInt_" data-uid="CSJ2K.Icc.ICCProfile.getInt*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_getInt_System_Byte___System_Int32_" data-uid="CSJ2K.Icc.ICCProfile.getInt(System.Byte[],System.Int32)">getInt(byte[], int)</h4>
<div class="markdown level1 summary"><p>Create an int from a byte [4].</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static int getInt(byte[] bfr, int off)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function getInt(bfr As Byte(), off As Integer) As Integer</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</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><span class="parametername">bfr</span></td>
      <td><p>data array</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">off</span></td>
      <td><p>start of data in array</p>
</td>
    </tr>
  </tbody>
</table>
<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><p>native type from representation.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
