![]() |
Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
|
exFAT file with Arduino Stream. More...
#include <ExFatFile.h>
Inherits StreamFile< ExFatFile, uint64_t >.
Public Member Functions | |
| ExFile | openNextFile (oflag_t oflag=O_RDONLY) |
Public Member Functions inherited from StreamFile< ExFatFile, uint64_t > | |
| StreamFile () | |
| int | available () |
| void | flush () |
| bool | isDirectory () |
| const char * | name () const |
| int | peek () |
| uint64_t | position () |
| int | read () |
| void | rewindDirectory () |
| bool | seek (uint64_t pos) |
| uint64_t | size () |
| size_t | write (uint8_t b) |
| size_t | write (const uint8_t *buffer, size_t size) |
Public Member Functions inherited from ExFatFile | |
| ExFatFile () | |
| ExFatFile (const char *path, oflag_t oflag) | |
| ~ExFatFile () | |
| operator bool () | |
| int | available () |
| uint64_t | available64 () |
| void | clearError () |
| void | clearWriteError () |
| bool | close () |
| bool | contiguousRange (uint32_t *bgnSector, uint32_t *endSector) |
| uint64_t | curPosition () const |
| uint64_t | dataLength () const |
| uint32_t | dirIndex () const |
| bool | exists (const ExChar_t *path) |
| void | fgetpos (fspos_t *pos) const |
| int | fgets (char *str, int num, char *delim=nullptr) |
| uint64_t | fileSize () const |
| uint32_t | firstSector () const |
| void | fsetpos (const fspos_t *pos) |
| void | flush () |
| bool | getAccessDateTime (uint16_t *pdate, uint16_t *ptime) |
| bool | getCreateDateTime (uint16_t *pdate, uint16_t *ptime) |
| uint8_t | getError () const |
| bool | getModifyDateTime (uint16_t *pdate, uint16_t *ptime) |
| size_t | getName (ExChar_t *name, size_t size) |
| bool | getWriteError () const |
| bool | isBusy () |
| bool | isContiguous () const |
| bool | isDir () const |
| bool | isFile () const |
| bool | isHidden () const |
| bool | isOpen () const |
| bool | isReadOnly () const |
| bool | isRoot () const |
| bool | isReadable () const |
| bool | isSubDir () const |
| bool | isWritable () const |
| bool | ls (print_t *pr) |
| bool | ls (print_t *pr, uint8_t flags, uint8_t indent=0) |
| bool | mkdir (ExFatFile *parent, const ExChar_t *path, bool pFlag=true) |
| bool | open (ExFatFile *dirFile, const ExChar_t *path, oflag_t oflag) |
| bool | open (ExFatVolume *vol, const ExChar_t *path, int oflag) |
| bool | open (ExFatFile *dirFile, uint32_t index, oflag_t oflag) |
| bool | open (const ExChar_t *path, int oflag=O_RDONLY) |
| bool | openNext (ExFatFile *dirFile, oflag_t oflag=O_RDONLY) |
| bool | openRoot (ExFatVolume *vol) |
| int | peek () |
| bool | preAllocate (uint64_t length) |
| size_t | printAccessDateTime (print_t *pr) |
| size_t | printCreateDateTime (print_t *pr) |
| size_t | printField (double value, char term, uint8_t prec=2) |
| size_t | printField (float value, char term, uint8_t prec=2) |
| template<typename Type > | |
| size_t | printField (Type value, char term) |
| size_t | printFileSize (print_t *pr) |
| size_t | printModifyDateTime (print_t *pr) |
| size_t | printName (print_t *pr) |
| int | read () |
| int | read (void *buf, size_t count) |
| bool | remove () |
| bool | remove (const ExChar_t *path) |
| bool | rename (const ExChar_t *newPath) |
| bool | rename (ExFatFile *dirFile, const ExChar_t *newPath) |
| void | rewind () |
| bool | rmdir () |
| bool | seekCur (int64_t offset) |
| bool | seekEnd (int64_t offset=0) |
| bool | seekSet (uint64_t pos) |
| bool | sync () |
| bool | timestamp (uint8_t flags, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second) |
| bool | truncate () |
| bool | truncate (uint64_t length) |
| uint64_t | validLength () const |
| size_t | write (const char *str) |
| size_t | write (uint8_t b) |
| size_t | write (const void *buf, size_t count) |
| bool | exists (const char *path) |
| size_t | getName (char *name, size_t size) |
| bool | mkdir (ExFatFile *parent, const char *path, bool pFlag=true) |
| bool | open (ExFatVolume *vol, const char *path, int oflag) |
| bool | open (ExFatFile *dir, const char *path, int oflag) |
| bool | open (const char *path, int oflag=O_RDONLY) |
| bool | remove (const char *path) |
| bool | rename (const char *newPath) |
| bool | rename (ExFatFile *dirFile, const char *newPath) |
exFAT file with Arduino Stream.
Opens the next file or folder in a directory.
| [in] | oflag | open flags. |