From 4c5841ea4c693c1486d471c85cdc310289e492dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 6 May 2019 02:36:57 +0200 Subject: [PATCH] Hex --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c27fb6..8790adc 100644 --- a/README.md +++ b/README.md @@ -1423,7 +1423,7 @@ Bytes ```python = .decode(encoding='utf-8') = int.from_bytes(, byteorder='big|little', signed=False) - = .hex() +'' = .hex() ``` ### Read Bytes from File diff --git a/index.html b/index.html index eb08931..e095399 100644 --- a/index.html +++ b/index.html @@ -1242,7 +1242,7 @@ db.commit()

Decode

<str>   = <bytes>.decode(encoding='utf-8')
 <int>   = int.from_bytes(<bytes>, byteorder='big|little', signed=False)
-<hex>   = <bytes>.hex()
+'<hex>' = <bytes>.hex()
 

Read Bytes from File

def read_bytes(filename):