Enumerator interface for zlib compression