◆ FFileHandleApple()
| FFileHandleApple::FFileHandleApple |
( |
int32 |
InFileHandle, |
|
|
const TCHAR * |
InFilename, |
|
|
bool |
bIsReadOnly |
|
) |
| |
|
inline |
◆ ~FFileHandleApple()
| virtual FFileHandleApple::~FFileHandleApple |
( |
| ) |
|
|
inlinevirtual |
◆ Flush()
Flushes file handle to disk.
- Parameters
-
| 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 |
- Returns
- true if operation completed successfully.
Implements IFileHandle.
◆ Read()
Read bytes from the file.
- Parameters
-
| Destination | Buffer to holds the results, should be at least BytesToRead in size. |
| BytesToRead | Number of bytes to read into the destination. |
- Returns
- true if the operation completed successfully. Returns false if a read is attempted while the read position is already at the end of the file.
Implements IFileHandle.
◆ ReadAt()
◆ Seek()
Change the current write or read position.
- Parameters
-
| NewPosition | new write or read position |
- Returns
- true if the operation completed successfully.
Implements IFileHandle.
◆ SeekFromEnd()
| virtual bool FFileHandleApple::SeekFromEnd |
( |
int64 |
NewPositionRelativeToEnd = 0 | ) |
|
|
inlineoverridevirtual |
Change the current write or read position, relative to the end of the file.
- Parameters
-
| NewPositionRelativeToEnd | new write or read position, relative to the end of the file should be <=0! |
- Returns
- true if the operation completed successfully.
Implements IFileHandle.
◆ Size()
Return the total size of the file
Reimplemented from IFileHandle.
◆ Tell()
Return the current write or read position.
Implements IFileHandle.
◆ Truncate()
Truncate the file to the given size (in bytes).
- Parameters
-
| NewSize | Truncated file size (in bytes). |
- Returns
- true if the operation completed successfully.
Implements IFileHandle.
◆ Write()
Write bytes to the file.
- Parameters
-
| Source | Buffer to write, should be at least BytesToWrite in size. |
| BytesToWrite | Number of bytes to write. |
- Returns
- true if the operation completed successfully.
Implements IFileHandle.
◆ FAppleFileRegistry
The documentation for this class was generated from the following file: