Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
WsCompressor Class Reference

Used to compress data. More...

#include <WsCompressor.h>

Collaboration diagram for WsCompressor:
Collaboration graph

Public Member Functions

long compress (const std::string &data, char **compressedData)
 compress the input string (data) and puts it in compressedData. More...
 

Detailed Description

Used to compress data.

It is used for compressing data between WsFsDaemon and WsFsDaemonClient classes

Definition at line 24 of file WsCompressor.h.

Member Function Documentation

long WsCompressor::compress ( const std::string &  data,
char **  compressedData 
)

compress the input string (data) and puts it in compressedData.

Returns
FAILURE if error occured, otherwise the size of the compressed data buffer
Parameters
datathe uncompressed string
compressedDatawill contain the compressed data

Definition at line 22 of file WsCompressor.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: