FMath::MemoryTest

Tests a memory region to see that it's working properly.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Source

/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp

Syntax

static bool MemoryTest
(
    void * BaseAddress,
    uint32 NumBytes
)

Remarks

Tests a memory region to see that it's working properly.

Returns

true if the memory region passed the test

Parameters

Parameter

Description

BaseAddress

Starting address

NumBytes

Number of bytes to test (will be rounded down to a multiple of 4)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss