src/hexdump.h@088286f9e1e4
src/hexdump.h
Wed, 05 Aug 2009 15:04:55 +0100
- author
- Philip Pemberton <philpem@philpem.me.uk>
- date
- Wed, 05 Aug 2009 15:04:55 +0100
- changeset 14
- 088286f9e1e4
- parent 3
-
4aec27d9d4da
- permissions
- -rw-r--r--
Fixed printing so uncompressed mode is no longer used; now sends an uncompressed Packbits stream instead.
Added SetOption and GetOption, so can now turn autocut and mirror on and off. Defaults to both off after init.
4 void hex_dump(void *data, int size);
5 /* dumps size bytes of *data to stdout. Looks like:
6 * [0000] 75 6E 6B 6E 6F 77 6E 20 30 FF 00 00 00 00 39 00 unknown 0.....9.