|
namespace cocos2d {
|
|
|
|
class CCData : public CCObject
|
|
{
|
|
CCData(void);
|
|
~CCData(void);
|
|
|
|
void* bytes(void);
|
|
static CCData* dataWithBytes(unsigned char *pBytes, int size);
|
|
static CCData* dataWithContentsOfFile(const std::string &strPath);
|
|
|
|
};
|
|
}//namespace cocos2d
|