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.

[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).