Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FSharedBuffer
Description
Convert this to a unique buffer, leaving this null.
Steals the buffer owner from the shared buffer if this is the last reference to it, otherwise clones the shared buffer to guarantee unique ownership. A non-owned buffer is always cloned.
| Name | MoveToUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Memory/SharedBuffer.h |
| Include Path | #include "Memory/SharedBuffer.h" |
| Source | /Engine/Source/Runtime/Core/Private/Memory/SharedBuffer.cpp |
FUniqueBuffer MoveToUnique()