On 09/02/12 05:09, Tony Caduto wrote:
The original app zipped the contents of a memo(using vclzip) which was saved to a stream, and the zip does not get stored in a file, rather a tmemorystream, whichis then sent to a client app via a socket.
The functions 'compress' and 'uncompress' in units zCompr.pas and zUncompr.pas will do what you want, although using an array of Byte instead of a TMemorystream. The units are in packages/paszlib/src in the fpc source tree.

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

Reply via email to