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

Function MemorySet

Source/Engine/Platform/Base/PlatformBase.h:218–221  ·  view source on GitHub ↗

Set memory region with given value Destination memory address. Must not be null, even if size is zero. Size of the memory to set in bytes Value to set

Source from the content-addressed store, hash-verified

216 /// <param name="size">Size of the memory to set in bytes</param>
217 /// <param name="value">Value to set</param>
218 FORCE_INLINE static void MemorySet(void* dst, uint64 size, int32 value)
219 {
220 memset(dst, value, static_cast<size_t>(size));
221 }
222
223 /// <summary>
224 /// Clear memory region with zeros

Callers 4

CreateMessageBuffersMethod · 0.85
SetTextMethod · 0.85
CreateMethod · 0.85
SetAllFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected