36 operator const Byte*()
const override;
46 void Map(
const UInt_64 offset,
const UInt_64 size)
override;
52 UInt_64
Write(
const Byte*
const data,
const UInt_64 size)
override;
54 UInt_64
Read(
Byte*
const buffer,
const UInt_64 size)
override;
56 void Seek(UInt_64 index)
override;
64 UInt_64
Size()
const override;
A cross-platform wrapper class that handles native file input/output.
Definition BaseFile.h:29
Mode mode
Definition BaseFile.h:35
Disposition disposition
Definition BaseFile.h:36
static void Rename_8(const Str_8 &filePath, const Str_8 &newName)
void SeekBeginning() override
static void Rename_32(const Str_32 &filePath, const Str_32 &newName)
void Seek(UInt_64 index) override
UInt_64 MapSize() const override
bool IsMapped() const override
File(const Str_8 &filePath, const Mode mode, const Disposition disposition)
UInt_64 Read(Byte *const buffer, const UInt_64 size) override
static void Rename_16(const Str_16 &filePath, const Str_16 &newName)
File & operator=(File &&file) noexcept
File & operator=(const File &file)
void Map(const UInt_64 offset, const UInt_64 size) override
UInt_64 Write(const Byte *const data, const UInt_64 size) override
UInt_64 Size() const override
void Truncate(const UInt_64 size) override
bool IsValid() const override
File(File &&file) noexcept
Str< Char_16, UInt_64 > Str_16
Definition Str.h:1901
Mode
Definition BaseFile.h:12
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1902
unsigned char Byte
Definition Types.h:39
Disposition
Definition BaseFile.h:19
Str< Char_32, UInt_64 > Str_32
Definition Str.h:1900