ustring.h
来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 45 行
H
45 行
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: UString.h,v 1.4 2002/08/06 20:10:38 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_UString_h // [
#define Included_UString_h
#include "pgpClassesConfig.h"
_PGP_BEGIN
namespace UString
{
inline
PGPUInt8
LetterToNumber(char c)
{
return (toupper(c) - 'A');
}
inline
char
NumberToLetter(PGPUInt8 n)
{
return (n + 'A');
};
inline
char
LastChar(const char *string)
{
return string[strlen(string) - 1];
}
void SmartStringCopy(char *outString, const char *inString,
PGPUInt32 outBufSize);
}
_PGP_END
#endif // Included_UString_h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?