hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Oct 2020 01:19:24 +0300
changeset 2440 6d3f91904178
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Famous NTP servers.

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