util to encode data to printable string More...
#include "ZFCoreTypeDef.h"Go to the source code of this file.
Macros | |
| #define | ZFCoreDataEncodeCharMapDefault() |
| see ZFCoreDataEncode, default is all numbers and all lower and upper letters | |
Functions | |
| void | ZFCoreDataEncode (zfstring &result, const zfchar *src, zfindex srcLen=((zfindex) -1), const zfchar *charMap=_ZFP_ZFCoreDataEncodeCharMapDefault, zfchar escapeToken='%') |
| util to encode data to printable string | |
| void | ZFCoreDataDecode (zfstring &result, const zfchar *src, zfindex srcLen=((zfindex) -1), zfchar escapeToken='%') |
| see ZFCoreDataEncode | |
util to encode data to printable string
| #define ZFCoreDataEncodeCharMapDefault | ( | ) |
see ZFCoreDataEncode, default is all numbers and all lower and upper letters
here's a list of contents:
|
extern |
util to encode data to printable string
use charMap to declare the printable chars, it's a 256 size zfchar array, zero element means the char isn't printable and non-zero means printable
not printable chars would be escaped by escapeToken