unsigned int __fastcall
ContentProxyClientClass::decompressFullStream(TMemoryStream *inputStream,
TStream *outputStream, bool clearOutputStream)
{
 try
 {
  inputStream->Seek((__int64)0, soBeginning);

  if(clearOutputStream)
   ((TMemoryStream*)outputStream)->Clear();

  ZlibDecompressStream(inputStream, outputStream);

  return outputStream->Size;
 }
 catch(...)
 {
 }
 return 0;
}
//---------------------------------------------------------------------------

Does anybody see what is wrong with this function? I see that none of the
ICS examples use this function so could it be buggy(?).

Best Regards,

SZ
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to