title: Convert a Base64 to a Blob Netsuite SuiteScript (Javascript server-side)
body: <p>I have to send, via <code>https.request</code>, a PDF file, but I only have the Base64 content and the only format that the server accepts is the byte array. </p>
  
  <p>In JavaScript, on the client side, that's very simple (<code>UInt8Array</code> and <code>Blob</code>) but those are not implemented in NetSuite so I can't use them. Is there any alternative way to do that without using <code>UInt8Array</code> or <code>Blob</code>?</p>
  
  <p>I compose the body of the multipart/form-data request and in the body I decoded the Base64 to a UTF-8 string but it doesn't work, it sends the file correctly but is empty.</p>
  
  <p>The format that I need is application/octet-stream.</p>