Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

wxMemoryOutputStream * wxPdfParser::FlateDecode ( wxMemoryOutputStream *  osIn  )  [protected]

Decode a stream that has the FlateDecode filter.

Parameters:
osIn the input data
Returns:
the decoded data

Definition at line 37 of file pdfdecode.cpp.

Referenced by GetStreamBytes().

{
  wxMemoryInputStream in(*osIn);
  wxZlibInputStream zin(in);
  wxMemoryOutputStream* osOut = new wxMemoryOutputStream();;
  osOut->Write(zin);
  osOut->Close();
  return osOut;
}


Generated by  Doxygen 1.6.0   Back to index