BufCore

Core buffer object.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/IO/IoDispatcher.h

Include

#include "IO/IoDispatcher.h"

Syntax

struct BufCore

Remarks

Core buffer object. For internal use only, used by FIoBuffer

Contains all state pertaining to a buffer.

Constructors

Name Description

Public function

BufCore()

Public function

BufCore

(
    uint64 InSize
)

Public function

BufCore

(
    const BufCore& Rhs
)

Public function

BufCore

(
    const uint8* InData,
    uint64 InSize,
    bool InOwnsMemory
)

Public function

BufCore

(
    const uint8* InData,
    uint64 InSize,
    const BufCore* InOuter
)

Public function

BufCore

(
    ECloneTag,
    uint8* InData,
    uint64 InSize
)

Destructors

Name Description

Public function

~BufCore()

Functions

Name Description

Public function Const

uint32

 

AddRef()

Public function

uint8 *

 

Data()

Public function Const

uint64

 

DataSize()

Public function Const

uint32

 

GetRefCount()

Public function Const

bool

 

IsMemoryOwned()

Public function

void

 

MakeOwned()

Public function Const

uint32

 

Release()

Public function

TIoStatusOr<...

 

ReleaseMemory()

Public function

void

 

SetDataAndSize

(
    const uint8* InData,
    uint64 InSize
)

Public function

void

 

SetIsOwned

(
    bool InOwnsMemory
)

Public function

void

 

SetSize

(
    uint64 InSize
)

Operators

Name Description

Public function

BufCore &

 

operator=

(
    const BufCore& Rhs
)

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss