Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IZlibSSH::process ( const P6VOID pInputData,
P6SIZE  cbInputData,
P6VOID pOutputData,
P6SIZE  cbOutputData,
P6SIZE pcbOutput,
P6BOOL  bLast 
)
pure virtual

This method will process the provided data according to the flags that were specified in the call to the initialize() method (either compress or decompress).

Parameters
pInputData[ in ] The address of the buffer containing the input data.
cbInputData[ in ] The size in bytes of the data contained in the pInputData buffer.
pOutputData[ out ] The address of a buffer in which will be placed the processed data.
cbOutputData[ in ] The size of the pOutputData buffer in bytes.
pcbOutput[ out ] The address of in P6SIZE in which will be placed the number of bytes processed.
bLast[ in ] A P6BOOL which indicates if this is the last input buffer. This is used to let the compressor know that the data should be finalized (usually by flushing any remaining unprocessed data and appending a checksum to the end of the data).
Returns