code: public void writeLong(long pLong) throws IOException {
          file.write((int) pLong & 0xFF);
          file.write((int) (pLong >>> 8) & 0xFF);
          file.write((int) (pLong >>> 16) & 0xFF);
          file.write((int) (pLong >>> 24) & 0xFF);
          file.write((int) (pLong >>> 32) & 0xFF);
          file.write((int) (pLong >>> 40) & 0xFF);
          file.write((int) (pLong >>> 48) & 0xFF);
          file.write((int) (pLong >>> 56) & 0xFF);
      }
docs: Writes an eight-byte {@code long} to the underlying output stream
  in little endian order, low byte first, high byte last
  
  @param pLong the {@code long} to be written.
  @throws IOException if the underlying stream throws an IOException.