On this page
base64.b85decode
Prev: base64.b64encode | Up: base64 | Next: base64.b85encode
Rel: base64.a85decode, base64.a85encode, base64.b16decode, base64.b16encode
Ref: docs.python.org — base64.b85decode
Tags: #public #python3 #stdlib #base64
Import
import base64
from base64 import b85decode
Signature & Overview
base64.b85decode(b)
Decode the base85-encoded bytes-like object or ASCII string b The result is returned as a bytes object.
Usage
import base64
enc = base64.b85encode(b"hello")
assert base64.b85decode(enc) == b"hello"
Gotchas
- RFC 1924 / git-binary-diff Base85: Uses a different alphabet from
a85decode()—don't mix them.
REPL Inspect
from base64 import b85decode
help(b85decode)
Linked from
Related notes
- tuts/python3/stdlib_module/base64 Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b64encode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b85encode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/a85decode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/a85encode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16decode Linked here; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16encode Linked here; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib