FastLED 3.9.15
Loading...
Searching...
No Matches
fl::FileSystem Class Reference

Detailed Description

Definition at line 51 of file file_system.h.

#include <file_system.h>

Public Member Functions

 FileSystem () FL_NOEXCEPT
 
bool begin (FsImplPtr platform_filesystem)
 
bool beginSd (int cs_pin)
 
void end ()
 
FramePtr loadJpeg (const char *path, const JpegConfig &config=JpegConfig(), fl::string *error_message=nullptr)
 
fl::Mp3DecoderPtr openMp3 (const char *path, fl::string *error_message=nullptr)
 
Video openMpeg1Video (const char *path, fl::size pixelsPerFrame, float fps=30.0f, fl::size nFrameHistory=0)
 
fl::ifstream openRead (const char *path)
 
Video openVideo (const char *path, fl::size pixelsPerFrame, float fps=30.0f, fl::size nFrameHistory=0)
 
bool readJson (const char *path, json *doc)
 
bool readScreenMap (const char *path, const char *name, ScreenMap *out, string *error=nullptr)
 
bool readScreenMaps (const char *path, fl::flat_map< string, ScreenMap > *out, string *error=nullptr)
 
bool readText (const char *path, string *out)
 

Private Attributes

FsImplPtr mFs
 

The documentation for this class was generated from the following files: