summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/ubinascii.rst
blob: a6327ea30861d4c2a94c40b744a40a3a9e864df9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
:mod:`ubinascii` -- binary/ASCII conversions
============================================

.. module:: ubinascii
   :synopsis: binary/ASCII conversions

This module implements conversions between binary data and various
encodings of it in ASCII form (in both directions).

Functions
---------

.. function:: hexlify(data)

   Convert binary data to hexadecimal representation. Return bytes string.

.. function:: unhexlify(data)

   Convert hexadecimal data to binary representation. Return bytes string.
   (i.e. inverse of hexlify)