Navigation
API > API/Runtime > API/Runtime/Core
Reference to buffer data used by I/O dispatcher APIs
| Name | FIoBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/IO/IoBuffer.h |
| Include Path | #include "IO/IoBuffer.h" |
Syntax
class FIoBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIoBuffer
(
uint64 InSize |
IO/IoBuffer.h | ||
| IO/IoBuffer.h | |||
| IO/IoBuffer.h | |||
CORE_API FIoBuffer
(
EAssumeOwnershipTag, |
IO/IoBuffer.h | ||
| IO/IoBuffer.h | |||
| IO/IoBuffer.h | |||
| IO/IoBuffer.h | |||
CORE_API FIoBuffer
(
EAssumeOwnershipTag, |
IO/IoBuffer.h | ||
CORE_API FIoBuffer () |
IO/IoBuffer.h | ||
| IO/IoBuffer.h |
Structs
| Name | Remarks |
|---|---|
| BufCore | Core buffer object. |
Enums
Public
| Name | Remarks |
|---|---|
| EAssumeOwnershipTag | |
| ECloneTag | |
| EWrapTag |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CorePtr | TRefCountPtr< BufCore > | Reference-counted "core" |
Ultimately this should probably just be an index into a pool | IO/IoBuffer.h | |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint8 * Data () |
IO/IoBuffer.h | ||
const uint8 * Data () |
Note: we currently rely on implicit move constructor, thus we do not declare any destructor or copy/assignment operators or copy constructors | IO/IoBuffer.h | |
uint64 DataSize() |
IO/IoBuffer.h | ||
void EnsureOwned() |
IO/IoBuffer.h | ||
uint8 * GetData () |
IO/IoBuffer.h | ||
const uint8 * GetData () |
IO/IoBuffer.h | ||
FMutableMemoryView GetMutableView() |
IO/IoBuffer.h | ||
uint64 GetSize() |
IO/IoBuffer.h | ||
FMemoryView GetView() |
IO/IoBuffer.h | ||
bool IsMemoryOwned() |
IO/IoBuffer.h | ||
void MakeOwned() |
IO/IoBuffer.h | ||
TIoStatusOr< uint8 * > Release () |
Relinquishes control of the internal buffer to the caller and removes it from the FIoBuffer. | IO/IoBuffer.h | |
void SetSize
(
uint64 InSize |
IO/IoBuffer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FIoBuffer& Rhs |
IO/IoBuffer.h |