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

Function Write

Source/Engine/Serialization/WriteStream.h:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139 template<typename T>
140 FORCE_INLINE typename TEnableIf<TAnd<TIsPODType<T>, TNot<TIsPointer<T>>>::Value>::Type Write(const T& data)
141 {
142 WriteBytes((const void*)&data, sizeof(T));
143 }
144
145 template<typename T>
146 typename TEnableIf<TIsBaseOf<ScriptingObject, T>::Value>::Type Write(const T* data)

Callers 15

WriteArrayFunction · 0.70
WriteMethod · 0.70
WriteStringMethod · 0.70
WriteStringAnsiMethod · 0.70
WriteVariantTypeMethod · 0.70
WriteVariantMethod · 0.70
WriteBoundingBoxMethod · 0.70
WriteBoundingSphereMethod · 0.70
WriteTransformMethod · 0.70
WriteRayMethod · 0.70
WriteAsyncMethod · 0.70
CompileShaderMethod · 0.50

Calls 6

memcpyFunction · 0.85
WriteInt32Function · 0.85
GetIDMethod · 0.80
GetMethod · 0.45
LengthMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected