| 795 | } |
| 796 | public: |
| 797 | static bool CheckPattern( const lUInt8 * buf, int ) |
| 798 | { |
| 799 | if (buf[0]!='G' || buf[1]!='I' || buf[2]!='F') |
| 800 | return false; |
| 801 | // version: '87a' or '89a' |
| 802 | if (buf[3]!='8' || buf[5]!='a') |
| 803 | return false; |
| 804 | if (buf[4]!='7' && buf[4]!='9') |
| 805 | return false; // bad version |
| 806 | return true; |
| 807 | } |
| 808 | virtual void Compact() |
| 809 | { |
| 810 | // TODO: implement compacting |
nothing calls this directly
no outgoing calls
no test coverage detected