title: Converting from blob to pdf
body: <p>I'am able to convert my pdf files into blob. But what i want to do is the opposite by converting it from blob to pdf. </p>
  
  <p>Here is my code converting it from pdf to blob. I just need some advice where i can return from blob to pdf. </p>
  
  <pre><code>var xhr=new XMLHttpRequest();
  
  xhr.open("GET","./template.pdf");
  xhr.responseType="arraybuffer";
  
  xhr.onload = function (e){
      var blob = new Blob([xhr.response]);
      var url = URL.createObjectURL(blob)
  
      console.log(url);
  
      var embed=document.getElementById("template");
      embed.src = url;
  }
  
  xhr.send();
  </code></pre>
  
  <p>The result will return a blob from console=> blob:<a href="http://localhost:8081/d42939da-e318-4d88-b46f-8240efaa7b1c" rel="nofollow noreferrer">http://localhost:8081/d42939da-e318-4d88-b46f-8240efaa7b1c</a> and once i paste this on the url, it will show me a huge blob text</p>