FastLED 3.9.15
Loading...
Searching...
No Matches

◆ read() [1/3]

ifstream & fl::ifstream::read ( char * buffer,
fl::size_t count )

Definition at line 61 of file fstream.cpp.hpp.

61 {
62 mLastRead = 0;
63 if (mHandle && mHandle->is_open()) {
64 mLastRead = mHandle->read(buffer, count);
66 }
67 return *this;
68}
filebuf_ptr mHandle
Definition fstream.h:50
fl::size_t mLastRead
Definition fstream.h:51
void updateState()
Definition fstream.h:56

References ifstream(), mHandle, mLastRead, and updateState().

Referenced by fl::FileSystem::loadJpeg(), and fl::FileSystem::readText().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: