patron | Дата: Четверг, 10.09.2015, 20:12 | Сообщение # 1 |
Генерал-лейтенант
Группа: Администраторы
Сообщений: 128
Статус: Offline
| Формат данных, который используется библиотекой zlib, описан в RFC (Request for Comments) с 1950 по 1952 в файлах rfc1950.txt (zlib формат), rfc1951.txt (формат сжатия) и rfc1952.txt (gzip формат).
|
|
| |
patron | Дата: Четверг, 10.09.2015, 20:13 | Сообщение # 2 |
Генерал-лейтенант
Группа: Администраторы
Сообщений: 128
Статус: Offline
| Перечень функций int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level); int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); typedef voidp gzFile; gzFile gzopen (const char *path, const char *mode); gzFile gzdopen (int fd, const char *mode); int gzsetparams (gzFile file, int level, int strategy); int gzread (gzFile file, voidp buf, unsigned len); int gzwrite (gzFile file, const voidp buf, unsigned len); int VA gzprintf (gzFile file, const char *format, ...); int gzputs (gzFile file, const char *s); char * gzgets (gzFile file, char *buf, int len); int gzputc (gzFile file, int c); int gzgetc (gzFile file); int gzflush (gzFile file, int flush); z_off_t gzseek (gzFile file, z_off_t offset, int whence); z_off_t gztell (gzFile file); int gzrewind (gzFile file); int gzeof (gzFile file); int gzclose (gzFile file); const char * gzerror (gzFile file, int *errnum);
|
|
| |