pike.git / src / modules / Gz / module.pmod.in

version» Context lines:

pike.git/src/modules/Gz/module.pmod.in:1: - // $Id: module.pmod.in,v 1.14 2003/04/15 15:01:19 marcus Exp $ + // $Id: module.pmod.in,v 1.15 2003/04/23 11:41:22 nilsson Exp $   #pike __REAL_VERSION__      inherit @module@;    -  + #if constant(@module@.inflate) +    //! Low-level implementation of read/write support for GZip files   class _file {       static private Stdio.Stream f;    static private inflate inf;    static private deflate def;    static private int level, strategy;    static private string read_buf;    static private int file_pos, crc, write_mode, at_eof;   
pike.git/src/modules/Gz/module.pmod.in:402:    String.Buffer buf = String.Buffer();    string data;    do {    if (!(data = ::read(1024*64))) break;    buf->add(data);    } while (sizeof(data));    return (string)buf;    }   }    + #endif // constant(@module@.inflate)