|
void FileAccessUnix::store_buffer(const uint8_t *p_src, uint64_t p_length) {
|
|
void FileAccessUnix::store_buffer(const uint8_t *p_src, uint64_t 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(fwrite(p_src, 1, p_length, f) != p_length);
|
|
ERR_FAIL_COND(fwrite(p_src, 1, p_length, f) != p_length);
|