Files
Work/yproxy/hold/ydecode.hpp
2024-08-07 09:16:27 -04:00

18 lines
400 B
C++

#ifndef _YPROXY_YDECODE_HPP_
#define _YPROXY_YDECODE_HPP_
class File;
class String;
class YDecoder
{
public:
typedef enum Method{ForceDecode,AbortOnError};
static bool decode(const String &pathFileName,String &strPathImageFile,Method method=AbortOnError);
static bool isYEnc(const String &pathFileName);
private:
YDecoder(void);
static void packFile(File &outFile,int byteCount);
};
#endif