Zlib decompression - Any ideas?
Mark Smith
lists at futilism.com
Sat Dec 27 15:47:51 EST 2008
Ken, from the man page for gunzip:
gunzip takes a list of files on its command line and replaces each file
whose name ends with .gz, -gz, .z, -z, _z or .Z and which
begins with
the correct magic number with an uncompressed file without
the original
extension.
So I'm guessing that a shell call to gunzip should be able to cope...
Best,
Mark
On 27 Dec 2008, at 20:17, Ken Ray wrote:
> Hey all... I may be getting some files sent to me that were
> compressed using
> the public zlib library.
>
> My understanding is that the compress() and decompress() functions
> are built
> as wrappers around the zlib library, but may require certain
> headers or
> length bytes or something that these raw zlib-compressed files may
> not have.
>
> Any ideas on how I can decompress these files with Rev?
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list