//--------------------------------------------------------------------------- bool File_Ace::FileHeader_Begin() { //Element_Size if (Buffer_Size<7) return false; //Must wait for more data if (CC7(Buffer)!=0x2A2A4143452A2ALL) //"**ACE**" { Reject("Ace"); return false; } //All should be OK... return true; }
//--------------------------------------------------------------------------- bool File_Rar::FileHeader_Begin() { //Element_Size if (Buffer_Size<7) return false; //Must wait for more data state=0; if (CC7(Buffer)!=0x526172211A0700LL) //"Rar!" { Reject("RAR"); return false; } //All should be OK... return true; }