[fpc-pascal] Does FPC 2.6.4 or later have an Ascii85 (Base85) implementation

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed May 18 15:00:11 CEST 2016


Hi,

Ascii85 - also known as Base85. It works similar to Base64, but where
Base64 increases the original data by 33% (four ASCII characters to
represent 3 bytes of data), Base85 only increases the original data by
20% (five ASCII characters to represent 4 bytes of data).

  https://en.wikipedia.org/wiki/Ascii85

If FCL doesn't include an implementation (my initial search of FPC 2.6.4
shows NO), does anybody know of an Object Pascal implementation?

Base85 is used in file formats like *.PS and *.PDF files.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list