Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ takeBuffer
Method
takeBuffer
Engine/source/core/stream/memStream.cpp:221–233 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
219
}
220
221
void *MemStream::takeBuffer()
222
{
223
void *buffer = mBufferBase;
224
225
mBufferBase = NULL;
226
mBufferSize = 0;
227
mStreamSize = 0;
228
mCurrentPosition = 0;
229
230
setStatus(EOS);
231
232
return buffer;
233
}
Callers
1
save
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected