From 3ad94d6072555955a796c8c72a526c4fdff86711 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Mon, 18 May 2015 14:41:25 -0700 Subject: extmod: Add ubinascii.unhexlify This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit --- docs/library/ubinascii.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/library') diff --git a/docs/library/ubinascii.rst b/docs/library/ubinascii.rst index 9dba9180d..a6327ea30 100644 --- a/docs/library/ubinascii.rst +++ b/docs/library/ubinascii.rst @@ -13,3 +13,8 @@ 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) -- cgit v1.2.3