# CSJ2K.Icc.ICCProfile.setLong

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_Icc_ICCProfile_setLong_" data-uid="CSJ2K.Icc.ICCProfile.setLong*">setLong Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_Icc_ICCProfile_setLong_" data-uid="CSJ2K.Icc.ICCProfile.setLong*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_setLong_System_Int64_" data-uid="CSJ2K.Icc.ICCProfile.setLong(System.Int64)">setLong(long)</h4>
<div class="markdown level1 summary"><p>Separate bytes in a long into a byte array lsb to msb order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static byte[] setLong(long d)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function setLong(d As Long) As Byte()</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.int64">long</a></td>
      <td><span class="parametername">d</span></td>
      <td><p>long to separate</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.byte">byte</a>[]</td>
      <td><p>byte [] containing separated int.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_Icc_ICCProfile_setLong_" data-uid="CSJ2K.Icc.ICCProfile.setLong*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_setLong_System_Int64_System_Byte___" data-uid="CSJ2K.Icc.ICCProfile.setLong(System.Int64,System.Byte[])">setLong(long, byte[])</h4>
<div class="markdown level1 summary"><p>Separate bytes in a long into a byte array lsb to msb order.
Return the result in the provided array</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static byte[] setLong(long d, byte[] b)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function setLong(d As Long, b As Byte()) As Byte()</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.int64">long</a></td>
      <td><span class="parametername">d</span></td>
      <td><p>long to separate</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">b</span></td>
      <td><p>return output here.</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.byte">byte</a>[]</td>
      <td><p>reference to output.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
