Zlib example code