Thanks, that class was getting really old. I remember adding special functions to include the compress size at the start of the blob after compression so you don't need to supply the length on decompress. Useful for compressed DW's in the database. Does uncompress still need the original length...