Base64ToGif
by Sushil Mahajan
HTML
<script src="https://rawgithub.com/nodeca/pako/master/dist/pako.js"></script>
<script src="https://unpkg.com/browse/[email protected]/index.js"></script>
<div id='here'>
hey there
</div>
<br>
<div id='binary'>
hey there binary
</div>
<br>
<div id='binary-chardata'>
hey there binary chardata
</div>
<br>
<br>
<div id='binary-arr'>
hey there binary array
</div>
<br>
<br>
<div id='inflated'>
hey there inflatest
</div>
<br>
<div id='encoded'>
hey there encoded
</div>
JavaScript
// Get some base64 encoded binary data from the server. Imagine we got this:
var b64Data =...