1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

[FileAccess] Implement resize method.

This commit is contained in:
bruvzg
2024-04-08 22:09:34 +03:00
parent 029aadef56
commit 88b3e68f93
19 changed files with 111 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ public:
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_src) override; ///< store a byte
virtual void store_buffer(const uint8_t *p_src, uint64_t p_length) override; ///< store an array of bytes