hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 22 Nov 2020 22:23:50 +0200
changeset 2467 0498f0cc9966
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Extra tips to introspect object properties.

.. -*- 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, "'