Function Blam::Cache::WriteFileToCache¶
Defined in File cache.h
Function Documentation¶
-
std::string
Blam::Cache
::
WriteFileToCache
(void *data, int length, std::string id)¶ Writes a block of data to the cache as a file.
- Return
- The path of the cached file
- Parameters
data
: - The data to put in the filelength
: - The size of the data in bytesid
: - The ID of the cached data, used to retrieve the file later on