TTF Loading Fixed

This commit is contained in:
2023-04-27 21:52:19 -07:00
parent 60d4b53a33
commit 89afd1e53f
14 changed files with 196 additions and 59 deletions

View File

@ -109,6 +109,15 @@ namespace Dawn {
char needle
);
/**
* Reads the contents of this file into a given buffer. If buffer is null
* then the buffer will be allocated and returned.
*
* @param buffer Pointer to buffer to read to.
* @return The size of the read data.
*/
size_t readToBuffer(char **buffer);
/**
* Writes the entire contents of a string to a file.
*