Skip to content

cf_fs_write_entire_buffer_to_file

Category: file
GitHub: cute_file_system.h


Writes an entire buffer of data to a file as binary data.

CF_Result cf_fs_write_entire_buffer_to_file(const char* virtual_path, const void* data, size_t size);
Parameters Description
virtual_path A path to the file.
data A pointer to the data to write to the file.
size The size in bytes of data.

cf_fs_read_entire_file_to_memory
cf_fs_read_entire_file_to_memory_and_nul_terminate
cf_fs_write_string_range_to_file
cf_fs_write_string_file