ASCII 85 is an algorithm that can encode binary data using only ASCII characters.
Data encoded with ASCII 85 uses a wider range of characters than similar algorithms like base 64. Therefore it provides in a more efficient encoding of binary data. That is why it is used to encode binary data inside data formats like PDF.
This class provides a pure PHP implementation of ASCII 85, thus making it possible to encode and decode PDF files that use this algorithm, without needing special PHP extensions.
This class can be used to encode and decode data using the ASCII85 algorithm.
It can take a string of data and encode it with the ASCII85 algorithm. It can also do the opposite, i.e. extract the original data from an encoded string using the same algorithm.