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

◆ read()

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

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

277 {
278 mLastRead = 0;
279 if (mHandle && mHandle->is_open()) {
280 mLastRead = mHandle->read(buffer, count);
281 updateState();
282 }
283 return *this;
284}
void updateState()
Definition fstream.h:308
filebuf_ptr mHandle
Definition fstream.h:301
fl::size_t mLastRead
Definition fstream.h:302

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

+ Here is the call graph for this function: