Skip to content

Commit 2e2dffe

Browse files
committed
fix(docs): base-85 is a standard, actually several of them
1 parent 0e89c5a commit 2e2dffe

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Doc/library/base64.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,14 @@ recommended to review the security section for any code deployed to production.
361361

362362
`ISO 32000-2 Portable document format - Part 2: PDF 2.0 <https://pdfa.org/resource/iso-32000-2/>`_
363363
Section 7.4.3, "ASCII85Decode Filter," provides the definition
364-
of the standard base85 encoding used in PDF and PostScript.
364+
of the standard base85 encoding used in PDF and PostScript, including
365+
the output character set and the details of data length preservation
366+
using zero-padding and partial output groups.
367+
368+
:rfc:`1924` - A Compact Representation of IPv6 Addresses
369+
Section 4.2 details the character set used in base85 encoding. The question
370+
of zero-padding is not mentioned, since IPV6 addresses by definition are a
371+
multiple of four bytes.
365372

366373
`ZeroMQ RFC 32/Z85 <https://rfc.zeromq.org/spec/32/>`_
367374
The "Formal Specification" section provides the character set used in Z85.

0 commit comments

Comments
 (0)