MCPcopy Create free account
hub / github.com/axmolengine/axmol / fastSet

Method fastSet

core/base/Data.cpp:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void Data::fastSet(uint8_t* bytes, const ssize_t size)
108{
109 AXASSERT(size >= 0, "fastSet size should be non-negative");
110 // AXASSERT(bytes, "bytes should not be nullptr");
111 (void)_impl.release_pointer(); // forget internal pointer
112 _impl.attach_abi(bytes, size);
113}
114
115void Data::clear()
116{

Callers 5

getTextureDataForTextMethod · 0.80
getTextureDataForTextMethod · 0.80
getTextureDataForTextMethod · 0.80
getTextureDataForTextMethod · 0.80
getTextureDataForTextMethod · 0.80

Calls 2

release_pointerMethod · 0.45
attach_abiMethod · 0.45

Tested by

no test coverage detected