MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Write

Method Write

Source/Engine/Serialization/Stream.cpp:582–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void WriteStream::Write(const StringView& data)
583{
584 const int32 length = data.Length();
585 ASSERT(length < STREAM_MAX_STRING_LENGTH);
586 WriteInt32(length);
587 WriteBytes(*data, length * sizeof(Char));
588}
589
590void WriteStream::Write(const StringView& data, int16 lock)
591{

Callers 3

SaveToFileMethod · 0.45
FlushMethod · 0.45
WriteBytesMethod · 0.45

Calls 15

WriteInt32Function · 0.85
WriteUint16Function · 0.85
WriteUint8Function · 0.85
WriteBoolFunction · 0.85
WriteInt16Function · 0.85
WriteUint32Function · 0.85
WriteInt64Function · 0.85
WriteUint64Function · 0.85
WriteFloatFunction · 0.85
WriteDoubleFunction · 0.85
GetIDMethod · 0.80
WriteFunction · 0.70

Tested by 3

SaveToFileMethod · 0.36
FlushMethod · 0.36
WriteBytesMethod · 0.36