13 class EHS_LIB_IO File :
public BaseFile
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;
Definition: File_UNX.h:14
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
Mode
Definition: BaseFile.h:12
unsigned char Byte
Definition: Types.h:39
Disposition
Definition: BaseFile.h:19