Re: (native) wrapper around zlib

2012-08-23 Thread Laurent Artaud
Le 23/08/2012 08:57, Alexander Burger a écrit : Hi Laurent, It took the error message I got when I worked on the uncompress function to realize that, indeed, InBuf should be a byte list, and not a string... (this is binary data, and there are null bytes, and a (pack (mapcar 'char TheList))

Re: (native) wrapper around zlib

2012-08-21 Thread Alexander Burger
Hi Laurent, # uLong compressBound (uLong sourceLen) # int compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) I'm afraid I can give only a partial answer, as I don't understand the exact requirements of these functions well enough. However, here are some