sprint 1-alpha
Public Member Functions
sprint::io::gzip Class Reference

gzip file library More...

#include <gzip.h>

List of all members.

Public Member Functions

 gzip (const char *filename, sprint::io::flag_t openMode, int compression_level=9)
sprint::io::caps_t capabilities () const
int write (const char *buf, unsigned int size)
 compress some datas on file
int read (char *buf, unsigned int size)
 uncompress some datas from file
sprint::io::file_size_t seek (file_size_t offset, sprint::io::seek_t type)
sprint::io::state_t state ()
sprint::io::file_size_t length () const
 return the size of uncompressed file

Detailed Description

gzip file library


Constructor & Destructor Documentation

sprint::io::gzip::gzip ( const char *  filename,
sprint::io::flag_t  openMode,
int  compression_level = 9 
)

open/create a gzip file

Parameters:
filenamename of file open for write/read
openModefile open for read or write
compression_levellevel of compression in writing

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines