UUEncode.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- // Copyright (C) 1998-1999 DXGuide. All Rights Reserved.
- // File: UUEncode.h
- #ifndef _UUENCODE__H
- #define _UUENCODE__H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- const int constUUCodeBufLen = 256;
- class CUUEncode
- {
- public:
- CUUEncode(void);
- virtual ~CUUEncode();
- public:
- size_t GetBCLen(void) const
- {
- return m_nBCLen;
- }
- size_t GetACLen(void) const
- {
- return m_nACLen;
- }
- LPCCH Encode(LPCCH lpBC, size_t nLen);
- LPCCH Decode(LPCCH lpAC);
- private:
- CHAR m_BChars[constUUCodeBufLen];
- CHAR m_AChars[constUUCodeBufLen];
- size_t m_nBCLen;
- size_t m_nACLen;
- };
- #endif // _UUENCODE__H