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

2016-05-18 Thread Graeme Geldenhuys
On 2016-05-18 14:00, Graeme Geldenhuys wrote:
> 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?

Scratch that, clearly my searching sucks! [case sensitivity] ;-)  I
found the ascii85.pp unit in fcl-base.

Regards,
  Graeme

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


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

2016-05-18 Thread Graeme Geldenhuys
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
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal