276 unsigned long crc32(
int crc, uint8_t *buf,
int len);
bool vmupro_read_file_bytes(const char *filename, uint8_t *buffer, uint32_t offset, int num_bytes)
Read specific bytes from a file.
bool vmupro_folder_exists(const char *path)
Check if a folder exists.
bool vmupro_read_file_complete(const char *filename, uint8_t *buffer, size_t *file_size)
Read an entire file into memory.
bool vmupro_write_file_complete(const char *filename, const uint8_t *data, size_t size)
Write data to a file completely.
size_t vmupro_get_file_size(const char *filename)
Get the size of a file.
unsigned long crc32(int crc, uint8_t *buf, int len)
Calculate CRC32 checksum.
bool vmupro_write_file_bytes(const char *filename, const uint8_t *data, uint32_t offset, size_t length)
Write data to a file at a specific offset.
bool vmupro_file_exists(const char *filename)
Check if a file exists.