Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FIoBuffer
Core buffer object. For internal use only, used by FIoBuffer
Contains all state pertaining to a buffer.
| Name | BufCore |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/IO/IoBuffer.h |
| Include Path | #include "IO/IoBuffer.h" |
Syntax
struct BufCore
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
BufCore
(
const uint8* InData, |
IO/IoBuffer.h | ||
BufCore
(
const BufCore& Rhs |
IO/IoBuffer.h | ||
BufCore
(
uint64 InSize |
IO/IoBuffer.h | ||
BufCore () |
IO/IoBuffer.h | ||
BufCore
(
const uint8* InData, |
IO/IoBuffer.h | ||
| IO/IoBuffer.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CORE_API ~BufCore() |
IO/IoBuffer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataPtr | uint8 * | IO/IoBuffer.h | ||
| DataSizeHigh | uint8 | TODO: These two could be packed in the MSB of DataPtr on x64. | IO/IoBuffer.h | |
| DataSizeLow | uint32 | IO/IoBuffer.h | ||
| Flags | uint8 | IO/IoBuffer.h | ||
| NumRefs | int32 | IO/IoBuffer.h | ||
| OuterCore | TRefCountPtr< const BufCore > | Reference-counted outer "core", used for views into other buffer | IO/IoBuffer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 AddRef() |
IO/IoBuffer.h | ||
uint8 * Data() |
IO/IoBuffer.h | ||
uint64 DataSize() |
IO/IoBuffer.h | ||
uint32 GetRefCount() |
IO/IoBuffer.h | ||
bool IsMemoryOwned() |
IO/IoBuffer.h | ||
void MakeOwned() |
IO/IoBuffer.h | ||
uint32 Release() |
IO/IoBuffer.h | ||
TIoStatusOr< uint8 * > ReleaseMemory() |
IO/IoBuffer.h | ||
void SetDataAndSize
(
const uint8* InData, |
IO/IoBuffer.h | ||
void SetIsOwned
(
bool InOwnsMemory |
IO/IoBuffer.h | ||
void SetSize
(
uint64 InSize |
IO/IoBuffer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
BufCore & operator=
(
const BufCore& Rhs |
IO/IoBuffer.h |