hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 588 59b4a51c5382
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
588
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
-*- mode: outline -*-
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Dump binary data in hex.
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
  $ od -t x1 <file
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
or
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
  $ hexdump -v -e '1/1 "0x%02x, "'
59b4a51c5382 Dump binary data in hex.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10