![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IoBuffer.h>
Public Types | |
| enum | EAssumeOwnershipTag { AssumeOwnership } |
| enum | ECloneTag { Clone } |
| enum | EWrapTag { Wrap } |
Friends | |
| class | FIoBufferManager |
Reference to buffer data used by I/O dispatcher APIs
| FIoBuffer::FIoBuffer | ( | ) |
|
explicit |
| FIoBuffer::FIoBuffer | ( | FMemoryView | Memory, |
| const FIoBuffer & | OuterBuffer | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::EAssumeOwnershipTag | , |
| const void * | Data, | ||
| uint64 | InSize | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::EAssumeOwnershipTag | , |
| FMemoryView | Memory | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::ECloneTag | , |
| const void * | Data, | ||
| uint64 | InSize | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::ECloneTag | , |
| FMemoryView | Memory | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::EWrapTag | , |
| const void * | Data, | ||
| uint64 | InSize | ||
| ) |
| FIoBuffer::FIoBuffer | ( | FIoBuffer::EWrapTag | , |
| FMemoryView | Memory | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void FIoBuffer::MakeOwned | ( | ) | const |
| TIoStatusOr< uint8 * > FIoBuffer::Release | ( | ) |
Relinquishes control of the internal buffer to the caller and removes it from the FIoBuffer. This allows the caller to assume ownership of the internal data and prevent it from being deleted along with the FIoBuffer.
NOTE: It is only valid to call this if the FIoBuffer currently owns the internal memory allocation, as the point of the call is to take ownership of it. If the FIoBuffer is only wrapping the allocation then it will return a failed FIoStatus instead.
|
friend |