Is there a package to render binary files as hex in LaTeX. We've searched for it, but couldn't find any.
The package should provide some kind of command:
\lsthex{file.ext}
With file.ext a "binary" file (in this case the header of a .png file, but the content is here of course irrelevant).
Resulting in something like:
| 89 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52 |
| 00 00 00 10 00 00 00 10 08 06 00 00 00 1F F3 FF |
