Welcome to mirror list, hosted at ThFree Co, Russian Federation.

encname.hpp « unrar « thirdparty « src - github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e7786f54bfe3516bb3a1120a556040399d209cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _RAR_ENCNAME_
#define _RAR_ENCNAME_

class EncodeFileName
{
  private:
    void AddFlags(int Value);

    byte *EncName;
    byte Flags;
    uint FlagBits;
    size_t FlagsPos;
    size_t DestSize;
  public:
    EncodeFileName();
    size_t Encode(char *Name,wchar *NameW,byte *EncName);
    void Decode(char *Name,byte *EncName,size_t EncSize,wchar *NameW,size_t MaxDecSize);
};

#endif