From e453676735bed45e24c0cbec1be137ed9be285c1 Mon Sep 17 00:00:00 2001 From: TheCookingSenpai <153772003+tcsenpai@users.noreply.github.com> Date: Tue, 23 Jul 2024 02:33:10 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 610e2f6..7c37330 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,16 @@ This function performs the following steps: import qrare original_data = b"This is a binary string \x00\x01\x02 with some non-printable characters. -qraro.bin_to_qr(original_data, chunk_size=50) +qrare.bin_to_qr(original_data, chunk_size=50) +``` +And vice versa + +```python # Decode QR codes back into binary data import qrare -decoded_data = qraro.qr_to_bin() +decoded_data = qrare.qr_to_bin() print("Decoded data:", decoded_data) print("Original and decoded data match:", original_data == decoded_data)