FGenericPlatformMemory::WriteUnaligned

Stores a simple POD type to unaligned memory.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Syntax

template<typename T>
static void WriteUnaligned
(
    void * Ptr,
    const T & InValue
)

Remarks

Stores a simple POD type to unaligned memory.

Parameters

Parameter

Description

Ptr

unaligned memory of at least size sizeof(T)

Value

value to write at Ptr

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