FSandboxFileHandle

Wrapper to log the low level file system

Windows
MacOS
Linux

Inheritance Hierarchy

IFileHandle

FSandboxFileHandle

References

Module

SandboxFile

Header

/Engine/Source/Runtime/SandboxFile/Public/IPlatformFileSandboxWrapper.h

Include

#include "IPlatformFileSandboxWrapper.h"

Syntax

class FSandboxFileHandle : public IFileHandle

Remarks

Wrapper to log the low level file system

Constructors

Name Description

Public function

FSandboxFileHandle

(
    IFileHandle* InFileHandle,
    const TCHAR* InFilename
)

Destructors

Name Description

Public function Virtual

~FSandboxFileHandle()

Overridden from IFileHandle

Name Description

Public function Virtual

bool

 

Flush

(
    const bool bFullFlush
)

Flushes file handle to disk.

Public function Virtual

bool

 

Read

(
    uint8* Destination,
    int64 BytesToRead
)

Read bytes from the file.

Public function Virtual

bool

 

Seek

(
    int64 NewPosition
)

Change the current write or read position.

Public function Virtual

bool

 

SeekFromEnd

(
    int64 NewPositionRelativeToEnd
)

Change the current write or read position, relative to the end of the file.

Public function Virtual

int64

 

Size()

Return the total size of the file

Public function Virtual

int64

 

Tell()

Return the current write or read position.

Public function Virtual

bool

 

Truncate

(
    int64 NewSize
)

Truncate the file to the given size (in bytes).

Public function Virtual

bool

 

Write

(
    const uint8* Source,
    int64 BytesToWrite
)

Write bytes to the file.

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