MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / GetOutput

Method GetOutput

src/common/engine/serializer.cpp:770–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768//==========================================================================
769
770const char *FSerializer::GetOutput(unsigned *len)
771{
772 if (isReading()) return nullptr;
773 WriteObjects();
774 EndObject();
775 if (len != nullptr)
776 {
777 *len = (unsigned)w->mOutString.GetSize();
778 }
779 return w->mOutString.GetString();
780}
781
782//==========================================================================
783//

Callers

nothing calls this directly

Calls 2

GetSizeMethod · 0.45
GetStringMethod · 0.45

Tested by

no test coverage detected