Skip to content

Commit

Permalink
Merge pull request #23 from ticapix/patch-1
Browse files Browse the repository at this point in the history
Update README.rst with a raw_decoder example
  • Loading branch information
sg495 authored Jul 20, 2024
2 parents e75dc17 + ed0ef38 commit 1ed633b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ Object-oriented style:
>>> base32.decode('bjbswy3dpeblw64tmmqqq')
b'Hello World!'

Object-oriented style without prefix:

>>> multibase.get("base64url").raw_decoder("1IFOwqNRAXr7bxkzsaUP4c5TsfODswA3L8EZYoaWP08")
b'\xd4\x81N\xc2\xa3Q\x01z\xfbo\x193\xb1\xa5\x0f\xe1\xceS\xb1\xf3\x83\xb3\x007/\xc1\x19b\x86\x96?O'


Multihash digest
^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 1ed633b

Please sign in to comment.