summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-14 00:29:49 +0100
committerGitHub <noreply@github.com>2018-02-14 00:29:49 +0100
commit569431585cc65f2d485820db0f7e628498410912 (patch)
tree3873327cca737b9159ad0e98391f715fe5996055 /drivers/unix/file_access_unix.h
parentc2d8960c9c75337435e29b9ca543b30df19dc8e7 (diff)
parent8315aa40ccbb0274d87f7b94ed52aa252e4aa626 (diff)
downloadredot-engine-569431585cc65f2d485820db0f7e628498410912.tar.gz
Merge pull request #16385 from dragmz/buf_write_perf
fix buffer write performance
Diffstat (limited to 'drivers/unix/file_access_unix.h')
-rw-r--r--drivers/unix/file_access_unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/file_access_unix.h b/drivers/unix/file_access_unix.h
index 6f792076b8..dbb1c9f3b5 100644
--- a/drivers/unix/file_access_unix.h
+++ b/drivers/unix/file_access_unix.h
@@ -75,6 +75,7 @@ public:
virtual void flush();
virtual void store_8(uint8_t p_dest); ///< store a byte
+ virtual void store_buffer(const uint8_t *p_src, int p_length); ///< store an array of bytes
virtual bool file_exists(const String &p_path); ///< return true if a file exists