TTF Loading Fixed

This commit is contained in:
2023-04-27 21:52:19 -07:00
parent e1f615c774
commit 54cfc89f38
13 changed files with 192 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.
*