mgod is a little program I wrote to understand binary output. Unfortunately od from coreutils is still unusable, otherwise I would have used it.
mg@heavyfuel:~$ cat | ./mgod The quick brown fox jumps over the lazy dog. 84 104 101 32 113 117 105 99 107 32 98 114 111 119 110 32 102 111 120 32 106 117 109 112 115 32 111 118 101 114 32 116 104 101 32 108 97 122 121 32 100 111 103 46 10
There are two versions of mgod: C and Pascal. Thus you can verify the one's results with the other's.
Note: There can be different results. EOF (-1 resp. 255 unsigned) can be treated as a char or not.
Source Code, Win32 Binary (tcc by Fabrice Bellard), mgod.exe's mgod output
Source Code, Win32 Binary (fpc by Florian Klämpfl et al.), mgodpas.exe's mgodpas output