I have a static HTML site, which cannot load any other resources, because it is supposed to work offline as well. The JavaScript code, which is embedded in <script>
tags, needs to load (and store) a lot of binary data.
Storing the data as an array of numbers is inefficient, a binary-to-text encoding scheme seems to be required. Which one has the highest compression ratio and can still be read and contained within the <script>
-tags?