Skip to content

Commit 1ed633b

Browse files
authored
Merge pull request #23 from ticapix/patch-1
Update README.rst with a raw_decoder example
2 parents e75dc17 + ed0ef38 commit 1ed633b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

+5
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ Object-oriented style:
143143
>>> base32.decode('bjbswy3dpeblw64tmmqqq')
144144
b'Hello World!'
145145

146+
Object-oriented style without prefix:
147+
148+
>>> multibase.get("base64url").raw_decoder("1IFOwqNRAXr7bxkzsaUP4c5TsfODswA3L8EZYoaWP08")
149+
b'\xd4\x81N\xc2\xa3Q\x01z\xfbo\x193\xb1\xa5\x0f\xe1\xceS\xb1\xf3\x83\xb3\x007/\xc1\x19b\x86\x96?O'
150+
146151

147152
Multihash digest
148153
^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)