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

Function Read

Source/Engine/Serialization/ReadStream.h:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114 template<typename T>
115 FORCE_INLINE typename TEnableIf<TIsPODType<T>::Value>::Type Read(T& data)
116 {
117 ReadBytes((void*)&data, sizeof(T));
118 }
119
120 template<typename T>
121 typename TEnableIf<TIsBaseOf<ScriptingObject, T>::Value>::Type Read(T*& data)

Callers 15

ReadArrayFunction · 0.70
ReadMethod · 0.70
ReadStringAnsiMethod · 0.70
ReadStringMethod · 0.70
ReadVariantTypeMethod · 0.70
ReadVariantMethod · 0.70
ReadBoundingBoxMethod · 0.70
ReadBoundingSphereMethod · 0.70
ReadTransformMethod · 0.70
ReadRayMethod · 0.70
ReadAsyncMethod · 0.70
ReadMethod · 0.50

Calls 9

ReadBytesFunction · 0.85
FindObjectFunction · 0.85
LoadAssetFunction · 0.85
ReadInt32Function · 0.85
SetMethod · 0.45
ResizeMethod · 0.45
GetMethod · 0.45
ClearMethod · 0.45
EnsureCapacityMethod · 0.45

Tested by

no test coverage detected