cocos2d-js icon indicating copy to clipboard operation
cocos2d-js copied to clipboard

Why there is no JSB of Data class in CCData.h?

Open 0xJimmyBeh opened this issue 9 years ago • 1 comments

I'm trying to use Data class to pass image array bytes from Cocos2d-X to Cocos2d-JS.

http://www.cocos2d-x.org/reference/native-cpp/V3.5/d5/dda/classcocos2d_1_1_data.html#a200bf583c97d8da48febc89218d3bef2

The document only show C++ but don't have JS and Lua.

Thanks.

0xJimmyBeh avatar Apr 28 '15 09:04 0xJimmyBeh

I also notice that. So I am writing my own C++ class and JS binding to do that.

luzi82 avatar May 25 '15 08:05 luzi82