hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 04 Jul 2017 23:29:14 +0300 (2017-07-04)
changeset 2156 de9f7c02b6e9
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Example without suppressing additional output.
.. -*- 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, "'