hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 05 Dec 2017 23:51:54 +0200
changeset 2209 6faf149a4f4c
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Show difference.

.. -*- coding: utf-8; -*-

=========================
 Hex data representation
=========================
.. contents::
   :local:

Dump binary data in hex.
========================
::

  $ od -t x1 <file

or::

  $ hexdump -v -e '1/1 "0x%02x, "'