Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IO
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/IO/IoBuffer.h |
| Include | #include "IO/IoBuffer.h" |
Syntax
class FIoBuffer
Remarks
Reference to buffer data used by I/O dispatcher APIs
Constructors
| Type | Name | Description | |
|---|---|---|---|
| CORE_API | FIoBuffer () |
||
| CORE_API | |||
FIoBuffer
(
uint64 InSize |
|||
| CORE_API | |||
| CORE_API | FIoBuffer
(
EAssumeOwnershipTag, |
||
| CORE_API | |||
| CORE_API | |||
| CORE_API | |||
| CORE_API | FIoBuffer
(
EAssumeOwnershipTag, |
||
| CORE_API |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint8 * | Data () |
||
| 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 | |
| uint64 | DataSize () |
||
| void | EnsureOwned () |
||
| uint8 * | GetData () |
||
| const uint8 * | GetData () |
||
| FMutableMemoryView | |||
| uint64 | GetSize () |
||
| FMemoryView | GetView () |
||
| bool | |||
| void | MakeOwned () |
||
| TIoStatusOr< uint8 * > | Release () |
Relinquishes control of the internal buffer to the caller and removes it from the FIoBuffer. | |
| void | SetSize
(
uint64 InSize |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FIoBuffer& Rhs |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAssumeOwnershipTag | |||
| ECloneTag | |||
| EWrapTag |