read in bytes
This commit is contained in:
parent
7dc58b60a6
commit
7b9bdf0f92
2 changed files with 45 additions and 0 deletions
|
|
@ -8,6 +8,16 @@ extern "C" {
|
|||
#include <stdint.h>
|
||||
#include "arc/std/string.h"
|
||||
|
||||
/**
|
||||
* @brief get string and size from file
|
||||
*
|
||||
* @param path a string to path of target file
|
||||
* @param data pointer to where uint8_t array will be created
|
||||
* this will need to be freed once done using it
|
||||
* @param length length of the data read in
|
||||
*/
|
||||
void ARC_IO_ReadFileToUint8t(ARC_String *path, uint8_t **data, uint64_t *length);
|
||||
|
||||
/**
|
||||
* @brief get string and size from file
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue