1
0

encname.hpp 408 B

12345678910111213141516171819
  1. #ifndef _RAR_ENCNAME_
  2. #define _RAR_ENCNAME_
  3. class EncodeFileName
  4. {
  5. private:
  6. void AddFlags(byte Value,byte *EncName);
  7. byte Flags;
  8. uint FlagBits;
  9. size_t FlagsPos;
  10. size_t DestSize;
  11. public:
  12. EncodeFileName();
  13. size_t Encode(char *Name,wchar *NameW,byte *EncName);
  14. void Decode(char *Name,size_t NameSize,byte *EncName,size_t EncSize,wchar *NameW,size_t MaxDecSize);
  15. };
  16. #endif