[fpc-pascal] Asci85

Santiago A. svaa at ciberpiula.net
Sat Sep 17 13:20:56 CEST 2016


El 16/09/2016 a las 15:01, José Mejuto escribió:
>
> Maybe there is something wrong in ASCII85 encoder, but this code is
> wrong, it should be something like:
>
>       try
>         StrmEnc85.CopyFrom(StrmIn,0);
>         StrmEnc85.Free;
>         Result:=StrmOut.DataString;
>       finally
>
> Because stream must be flushed before extracting result and the flush
> is performed in the destroy. .
>

That's right.
 
Solved! Thanks!


-- 
Saludos

Santiago A.




More information about the fpc-pascal mailing list