|
void FileAccessUnix::store_buffer(const uint8_t *p_src, int p_length) {
|
|
void FileAccessUnix::store_buffer(const uint8_t *p_src, int p_length) {
|
|
ERR_FAIL_COND_MSG(!f, "File must be opened before use.");
|
|
ERR_FAIL_COND_MSG(!f, "File must be opened before use.");
|
|
ERR_FAIL_COND((int)fwrite(p_src, 1, p_length, f) != p_length);
|
|
ERR_FAIL_COND((int)fwrite(p_src, 1, p_length, f) != p_length);
|