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.

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

Reply via email to