Implements fl::filebuf.
Definition at line 49 of file file_system_codecs.cpp.hpp.
49 {
51 fl::size totalRead = 0;
55 fl::size toRead =
fl::min(bytesToRead, rem);
58 mCurrentPos += toRead; totalRead += toRead; bytesToRead -= toRead;
59 } else break;
60 }
61 return totalRead;
62 }
bool decodeNextFrameIfNeeded() FL_NO_EXCEPT
fl::shared_ptr< Frame > mCurrentFrame
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
FASTLED_FORCE_INLINE void * memcpy(void *dest, const void *src, size_t n) FL_NO_EXCEPT
References decodeNextFrameIfNeeded(), fl::FL_NO_EXCEPT, mCurrentFrame, mCurrentPos, mDecoder, fl::memcpy(), mFrameSize, mHasValidFrame, and fl::min().