Projects > cpp > Issues > Refactor #3495

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Data class refactor and Deprecates FileUtils::getFileData

Refactor #3495 [Closed]
dumganhar 2013-12-24 08:35 . Updated almost 5 years ago

Fixed at

1) Data class should not inherited from Object
2) Data could be used on stack.
3) Deprecates FileUtils::getFileData, adds FileUtils::getStringFromFile/getDataFromFile to avoid potential memory issues.

dumganhar 2013-12-24 09:47
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:6bdc64063556f002d3d21ba4471ee1b459352498.

Atom PDF

Start date:2013-12-24
Due date:
% Done:


Target version:3.0-beta

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.