Swadge ESP32-S2  2.0.0
APIs to develop for the Magfest Swadge
Loading...
Searching...
No Matches
processorFileData_t Union Reference

Detailed Description

Holds processor input or output data.

#include <assets_preprocessor.h>

Data Fields

FILE * file
 Holds file handle for FMT_FILE or FMT_FILE_BIN formats.
struct { 
uint8_t * data
 Buffer holding binary data.
size_t length
 Length of binary data.
}; 
 Holds data for FMT_DATA format.
struct { 
char ** lines
 Array of string pointers for each line.
size_t lineCount
 The number of string pointers in the array.
}; 
 Holds data for FMT_LINES format.
struct { 
char * text
 Buffer holding text data.
size_t textSize
 The size of the text data, including NUL terminator.
}; 
 Holds data for FMT_TEXT format.
const char * fileName

Field Documentation

◆ file

FILE* file

Holds file handle for FMT_FILE or FMT_FILE_BIN formats.

◆ [struct]

struct { ... }

Holds data for FMT_DATA format.

◆ [struct]

struct { ... }

Holds data for FMT_LINES format.

◆ [struct]

struct { ... }

Holds data for FMT_TEXT format.

◆ fileName

const char* fileName

The documentation for this union was generated from the following file: