![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for FIOSFileHandle:Public Member Functions | |
| FIOSFileHandle (int32 InFileHandle, const FString &InFilename, bool bIsForRead) | |
| virtual | ~FIOSFileHandle () |
| int64 | InternalRead (uint8 *Destination, int64 BytesToRead) |
| virtual bool | Read (uint8 *Destination, int64 BytesToRead) override |
| virtual bool | ReadAt (uint8 *Destination, int64 BytesToRead, int64 Offset) override |
| virtual bool | Seek (int64 NewPosition) override |
| virtual bool | SeekFromEnd (int64 NewPositionRelativeToEnd=0) override |
| virtual bool | Flush (const bool bFullFlush=false) override |
| virtual bool | Truncate (int64 NewSize) override |
| virtual int64 | Size () override |
| virtual int64 | Tell () override |
| virtual bool | Write (const uint8 *Source, int64 BytesToWrite) override |
Public Member Functions inherited from IFileHandle | |
| virtual | ~IFileHandle () |
| virtual void | ShrinkBuffers () |
|
inline |
|
inlinevirtual |
Destructor.
Flushes file handle to disk.
| bFullFlush | true to flush everything about the file (including its meta-data) with a strong guarantee that it will be on disk by the time this function returns, or false to let the operating/file system have more leeway about when the data actually gets written to disk |
Implements IFileHandle.
Read bytes from the file.
| Destination | Buffer to holds the results, should be at least BytesToRead in size. |
| BytesToRead | Number of bytes to read into the destination. |
Implements IFileHandle.
|
inlineoverridevirtual |
Implements IFileHandle.
Change the current write or read position.
| NewPosition | new write or read position |
Implements IFileHandle.
|
inlineoverridevirtual |
Change the current write or read position, relative to the end of the file.
| NewPositionRelativeToEnd | new write or read position, relative to the end of the file should be <=0! |
Implements IFileHandle.
Return the total size of the file
Reimplemented from IFileHandle.
Return the current write or read position.
Implements IFileHandle.
Truncate the file to the given size (in bytes).
| NewSize | Truncated file size (in bytes). |
Implements IFileHandle.
|
inlineoverridevirtual |
Write bytes to the file.
| Source | Buffer to write, should be at least BytesToWrite in size. |
| BytesToWrite | Number of bytes to write. |
Implements IFileHandle.