FastLED 3.10.8
Loading...
Searching...
No Matches

◆ bytesRemaining()

i32 fl::video::PixelStream::bytesRemaining ( ) const

Definition at line 365 of file pixel_stream.cpp.hpp.

365 {
366 if (!mHandle) {
367 return 0;
368 }
369 if (mType == kStreaming) {
370 // Use (max)() to prevent macro expansion by Arduino.h's max macro
372 }
373 return mHandle->bytesLeft();
374}
fl::filebuf_ptr mHandle
static constexpr T max() FL_NO_EXCEPT
Definition limits.h:108

References fl::FL_NO_EXCEPT, kStreaming, fl::numeric_limits< T >::max(), mHandle, and mType.

Referenced by bytesRemainingInFrame(), and framesRemaining().

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