31 File& operator=(
File&& file)
noexcept;
35 operator const Byte*()
const override;
37 operator Byte*()
override;
39 void Release()
override;
41 bool IsMapped()
const override;
43 UInt_64 MapSize()
const override;
45 void Map(
const UInt_64 offset,
const UInt_64 size)
override;
47 void Unmap()
override;
49 void FlushMap()
override;
51 UInt_64 Write(
const Byte*
const data,
const UInt_64 size)
override;
53 UInt_64 Read(
Byte*
const buffer,
const UInt_64 size)
override;
55 void Seek(UInt_64 index)
override;
57 void SeekBeginning()
override;
59 void SeekEnd()
override;
61 void Truncate(
const UInt_64 size)
override;
63 UInt_64 Size()
const override;
65 bool IsValid()
const override;
67 static void Rename_32(
const Str_32& filePath,
const Str_32& newName);
69 static void Rename_16(
const Str_16& filePath,
const Str_16& newName);
71 static void Rename_8(
const Str_8& filePath,
const Str_8& newName);
A cross-platform wrapper class that handles native file input/output.
Definition: BaseFile.h:29
Definition: File_UNX.h:14
Mode
Definition: BaseFile.h:12
unsigned char Byte
Definition: Types.h:39
Disposition
Definition: BaseFile.h:19