Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ takeBuffer
Method
takeBuffer
core/base/Data.cpp:121–127 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
}
120
121
uint8_t* Data::takeBuffer(ssize_t* size)
122
{
123
auto buffer = getBytes();
124
if (size)
125
*size = getSize();
126
return _impl.release_pointer();
127
}
128
129
}
Callers
6
initWithImageFile
Method · 0.80
initWithImageFileThreadSafe
Method · 0.80
LoadFileAsBytes
Method · 0.80
addPackage
Method · 0.80
updateFonts
Method · 0.80
_readFile
Method · 0.80
Calls
2
getSize
Function · 0.85
release_pointer
Method · 0.45
Tested by
no test coverage detected