MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetMutableTemporaryPointer

Function GetMutableTemporaryPointer

Libs/flatbuffers/flatbuffers.h:2354–2357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2352/// the pointer!
2353template<typename T>
2354T *GetMutableTemporaryPointer(FlatBufferBuilder &fbb, Offset<T> offset) {
2355 return reinterpret_cast<T *>(fbb.GetCurrentBufferPointer() + fbb.GetSize() -
2356 offset.o);
2357}
2358
2359template<typename T>
2360const T *GetTemporaryPointer(FlatBufferBuilder &fbb, Offset<T> offset) {

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected