1 #ifndef __CF_BYTEARRAY_H__ 2 #define __CF_BYTEARRAY_H__ 9 #include <Core/CFList.h> 100 const CFUChar*
data()
const;
134 CFInt
indexOf(CFUChar chr,
int from = 0,
bool caseSensitive =
true);
195 CFUInt getUTF8length();
196 void create(
const CFUChar* strdata,
int size = -1);
198 CFUInt dataLength(
const CFUChar* strdata);
199 bool charEqual(CFUChar destChr, CFUChar srcChr,
bool caseSensitive =
true);
206 #endif // __CF_BYTEARRAY_H__ CFList 容器类.
Definition: CFList.h:15
CFList< CFByteArray > split(CFUChar sep)
使用sep对CFByteArray进行分割。
CFInt compare(const CFByteArray &other)
比较两个CFByteArray。
CFByteArray sub(CFUInt pos, CFInt len)
CFByteArray截取。
CFByteArray 字节数组.
Definition: CFByteArray.h:16
bool isEmpty() const
判断是否为空CFByteArray.
CFInt indexOf(CFUChar chr, int from=0, bool caseSensitive=true)
CFByteArray查找。
CFUInt size()
获取字节数组中数据的长度。
bool equal(const CFByteArray &other)
判断CFByteArray是否与 other CFByteArray相同.
virtual ~CFByteArray()
析构函数.
CFUChar * data()
获取字节数组中指向数据的指针。