|
| virtual bool | Flush (const bool bFullFlush=false) override |
| | Flushes file handle to disk. 更多...
|
| |
| | FPakFileHandle (const FPakFile &InPakFile, const FPakEntry &InPakEntry, FArchive *InPakReader, bool bIsSharedReader) |
| | Constructs pak file handle to read from pak. 更多...
|
| |
| | FPakFileHandle (const FPakFile &InPakFile, const FPakEntry &InPakEntry, TAcquirePakReaderFunction &InAcquirePakReaderFunction, bool bIsSharedReader) |
| | Constructs pak file handle to read from pak. 更多...
|
| |
| virtual bool | Read (uint8 *Destination, int64 BytesToRead) override |
| | Read bytes from the file. 更多...
|
| |
| virtual bool | Seek (int64 NewPosition) override |
| | Change the current write or read position. 更多...
|
| |
| virtual bool | SeekFromEnd (int64 NewPositionRelativeToEnd) override |
| | Change the current write or read position, relative to the end of the file. 更多...
|
| |
|
virtual int64 | Size () override |
| | Return the total size of the file
|
| |
|
virtual int64 | Tell () override |
| | Return the current write or read position.
|
| |
| virtual bool | Truncate (int64 NewSize) override |
| | Truncate the file to the given size (in bytes). 更多...
|
| |
| virtual bool | Write (const uint8 *Source, int64 BytesToWrite) override |
| | Write bytes to the file. 更多...
|
| |
| virtual | ~FPakFileHandle () |
| | Destructor. 更多...
|
| |
Public 成员函数 继承自 IFileHandle |
| virtual bool | Flush (const bool bFullFlush=false)=0 |
| | Flushes file handle to disk. 更多...
|
| |
| virtual bool | Read (uint8 *Destination, int64 BytesToRead)=0 |
| | Read bytes from the file. 更多...
|
| |
| virtual bool | Seek (int64 NewPosition)=0 |
| | Change the current write or read position. 更多...
|
| |
| virtual bool | SeekFromEnd (int64 NewPositionRelativeToEnd=0)=0 |
| | Change the current write or read position, relative to the end of the file. 更多...
|
| |
|
virtual int64 | Size () |
| | Return the total size of the file
|
| |
|
virtual int64 | Tell ()=0 |
| | Return the current write or read position.
|
| |
| virtual bool | Truncate (int64 NewSize)=0 |
| | Truncate the file to the given size (in bytes). 更多...
|
| |
| virtual bool | Write (const uint8 *Source, int64 BytesToWrite)=0 |
| | Write bytes to the file. 更多...
|
| |
|
virtual | ~IFileHandle () |
| | Destructor, also the only way to close the file handle
|
| |
template<typename ReaderPolicy = FPakReaderPolicy<>>
class FPakFileHandle< ReaderPolicy >
File handle to read from pak file.