Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IGzipDeflateBuffer::initialize ( P6VOID pBuffer,
P6SIZE  cbBuffer,
P6INT  nLevel,
P6GZIOFLAGS  fFlags 
)
pure virtual

Initializes the component for use.

Must be called successfully before calling any other method.

Parameters
pBuffer[ in ] The address of the buffer containing the data to be deflated. IMPORTANT: A copy of this buffer id not made by this component, so this buffer MUST remain valid for the duration of the deflation operation.
cbBuffer[ in ] The number of valid bytes in the buffer to be deflated.
nLevel[ in ] Compression level expressed as a value from 0-9 with 0 being no compression and 9 being max compression.
fFlags[ in ] P6GZIOFLAGS values indicating the desired behavior. The flags can be ORed together.
Returns