summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_memory.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-02 12:12:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-02 12:12:42 +0200
commit527c716784fbca1f82dcfcaedaceb67ef85789a4 (patch)
treeac46fb161b36d3bb33c6f6fbcb4a2a33dbbcb058 /core/io/file_access_memory.h
parent9ff888bcd4ba74f94d5854ba9243d0f93a367f7a (diff)
parent205a10e0ae7bfff1bc6ebba481838e3ac856b6b8 (diff)
downloadredot-engine-527c716784fbca1f82dcfcaedaceb67ef85789a4.tar.gz
Merge pull request #92167 from BlueCube3310/file-access-the-final-season-part3-ep2
Reduce code duplication in FileAccess
Diffstat (limited to 'core/io/file_access_memory.h')
-rw-r--r--core/io/file_access_memory.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/io/file_access_memory.h b/core/io/file_access_memory.h
index e9fbc26d75..39e1528d97 100644
--- a/core/io/file_access_memory.h
+++ b/core/io/file_access_memory.h
@@ -55,15 +55,12 @@ public:
virtual bool eof_reached() const override; ///< reading passed EOF
- virtual uint8_t get_8() const override; ///< get a byte
-
virtual uint64_t get_buffer(uint8_t *p_dst, uint64_t p_length) const override; ///< get an array of bytes
virtual Error get_error() const override; ///< get last error
virtual Error resize(int64_t p_length) override { return ERR_UNAVAILABLE; }
virtual void flush() override;
- virtual void store_8(uint8_t p_byte) override; ///< store a byte
virtual void store_buffer(const uint8_t *p_src, uint64_t p_length) override; ///< store an array of bytes
virtual bool file_exists(const String &p_name) override; ///< return true if a file exists