FPakPlatformFile::BufferedCopyFile

Helper function to copy a file from one handle to another usuing the supplied buffer.

Windows
MacOS
Linux

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Source

/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp

Syntax

bool BufferedCopyFile
(
    IFileHandle & Dest,
    IFileHandle & Source,
    const int64 FileSize,
    uint8 * Buffer,
    const int64 BufferSize
) const

Remarks

Helper function to copy a file from one handle to another usuing the supplied buffer.

Returns

true if the operation was successfull, false otherwise.

Parameters

Parameter

Description

Dest

Destination file handle.

Source

file handle.

FileSize

size of the source file.

Buffer

Pointer to the buffer used to copy data.

BufferSize

Sizeof of the buffer.

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