Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
File Struct Reference

Public Member Functions

 File (InternalFSTy &InternalFS)
 
bool open (const char *fname, const char *mode)
 
bool isOpen ()
 
bool available ()
 
void close ()
 
size_t size ()
 
size_t write (uint8_t *in, size_t sz)
 
size_t read (uint8_t *out, size_t sz)
 
bool seek (uint8_t sz)
 
void truncate (uint8_t sz)
 
 operator bool () const
 

Public Attributes

FILE * file
 
char filename [256]
 
const char * filemode
 
InternalFSTyInternalFS
 

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