- void Print( std::ostream &os = std::cout, std::string const & indent = "" );
- size_t GetFragmentsLength();
- void ReadAllFragments(std::ifstream *fp, JOCTET *buffer );
+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
+
+ void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits,
+ int numBytes, int length);
+
+ void AddFragment(JPEGFragment *fragment);
+ JPEGFragment *GetFirstFragment();
+ JPEGFragment *GetNextFragment();
+ unsigned int GetFragmentCount();