# CSJ2K.j2k.io.BEBufferedRandomAccessFile.writeLong

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_j2k_io_BEBufferedRandomAccessFile_writeLong_" data-uid="CSJ2K.j2k.io.BEBufferedRandomAccessFile.writeLong*">writeLong Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_j2k_io_BEBufferedRandomAccessFile_writeLong_" data-uid="CSJ2K.j2k.io.BEBufferedRandomAccessFile.writeLong*"></a>
<h4 id="CSJ2K_j2k_io_BEBufferedRandomAccessFile_writeLong_System_Int64_" data-uid="CSJ2K.j2k.io.BEBufferedRandomAccessFile.writeLong(System.Int64)">writeLong(long)</h4>
<div class="markdown level1 summary"><p>Writes the long value of <tt>v</tt> (i.e., the 64 bits) to the
output. Prior to writing, the output should be 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">public override void writeLong(long v)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub writeLong(v As Long)</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">v</span></td>
      <td><p>The value to write to the output</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="CSJ2K.j2k.io.BufferedRandomAccessFile.writeLong.html#CSJ2K_j2k_io_BufferedRandomAccessFile_writeLong_System_Int64_">BufferedRandomAccessFile.writeLong(long)</a></div>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="CSJ2K.j2k.io.BinaryDataOutput.writeLong.html#CSJ2K_j2k_io_BinaryDataOutput_writeLong_System_Int64_">BinaryDataOutput.writeLong(long)</a></div>
</div>
