hexdump in the browser


This morning, I thought: why is XMLHttpReq for xml and text but not for binary files? It turns out you can use it for binary files, but not in each browser and only for remote files. I’ve written a small implementation of hexdump. It loads a binary file like this:

With these techniques I made hexdump in the browser.


Post a comment