On this page
base64.a85decode
Up: base64 | Next: base64.a85encode
Rel: base64.a85encode, base64.b16decode, base64.b16encode, base64.b32decode
Ref: docs.python.org — base64.a85decode
Tags: #public #python3 #stdlib #base64
Import
import base64
from base64 import a85decode
Signature & Overview
base64.a85decode(b, *, foldspaces=False, adobe=False, ignorechars=b' \t\n\r\x0b')
Decode the Ascii85 encoded bytes-like object or ASCII string b.
Usage
import base64
enc = base64.a85encode(b"hello world")
assert base64.a85decode(enc) == b"hello world"
Gotchas
- Ascii85 (Adobe/PDF format): Pass
adobe=Trueif the input is wrapped in<~...~>delimiters.
REPL Inspect
from base64 import a85decode
help(a85decode)
Linked from
- tuts/python3/stdlib_module/base64
- tuts/python3/stdlib_module/base64/a85encode
- tuts/python3/stdlib_module/base64/b16decode
- tuts/python3/stdlib_module/base64/b16encode
- tuts/python3/stdlib_module/base64/b32decode
- tuts/python3/stdlib_module/base64/b32encode
- tuts/python3/stdlib_module/base64/b32hexdecode
- tuts/python3/stdlib_module/base64/b32hexencode
- tuts/python3/stdlib_module/base64/b64decode
- tuts/python3/stdlib_module/base64/b64encode
- tuts/python3/stdlib_module/base64/b85decode
- tuts/python3/stdlib_module/base64/b85encode
- tuts/python3/stdlib_module/base64/decode
- tuts/python3/stdlib_module/base64/decodebytes
- tuts/python3/stdlib_module/base64/encode
- tuts/python3/stdlib_module/base64/encodebytes
- tuts/python3/stdlib_module/base64/standard_b64decode
- tuts/python3/stdlib_module/base64/standard_b64encode
- tuts/python3/stdlib_module/base64/urlsafe_b64decode
- tuts/python3/stdlib_module/base64/urlsafe_b64encode
- tuts/python3/stdlib_module/base64/z85decode
- tuts/python3/stdlib_module/base64/z85encode
Related notes
- tuts/python3/stdlib_module/base64 Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/a85encode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16decode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b16encode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b32decode Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b32encode links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b32hexdecode links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b32hexencode links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b64decode links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/base64/b64encode links to this page; shared tags: #stdlib