class MHttpDataOptimiser |
Public Member Functions | |
---|---|
void | DecodeL(const TDesC8 &, HBufC8 *&, TBool &) |
void | EncodeL(const TDesC8 &, HBufC8 *&) |
void | DecodeL | ( | const TDesC8 & | aData, |
HBufC8 *& | aHttpData, | |||
TBool & | aTransFail | |||
) | [pure virtual] |
This method converts the data from the proprietary protocol format to the HTTP format. It is the responsibility of the implementation to allocate the required buffer for the encoded data. It is the responsibility of the caller to free the allocated memory. leave
KErrNoMemory On insuffcient memory conditions.
void | EncodeL | ( | const TDesC8 & | aHttpData, |
HBufC8 *& | aEncodedData | |||
) | [pure virtual] |
This method converts the HTTP message data to the proprietary protocol format. It is the responsibility of the implementation to allocate the required buffer for the encoded data. It is the responsibility of the caller to free the allocated memory. leave
KErrNoMemory On insuffcient memory conditions.