MCPcopy Create free account
hub / github.com/defold/defold / WriteString

Method WriteString

engine/ddf/src/ddf/ddf_outputstream.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 bool OutputStream::WriteString(const char* str)
147 {
148 if (!str) {
149 return WriteVarInt32(0);
150 }
151 uint32_t len = strlen(str);
152 return WriteVarInt32(len) && Write(str, len);
153 }
154}

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected