MCPcopy Create free account
hub / github.com/FastLED/FastLED / bytesRemaining

Method bytesRemaining

src/fl/video/pixel_stream.cpp.hpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186i32 PixelStream::bytesRemaining() const {
187 if (mType == kStreaming) {
188 // Use (max)() to prevent macro expansion by Arduino.h's max macro
189 return (fl::numeric_limits<i32>::max)();
190 }
191 return mHandle->bytesLeft();
192}
193
194i32 PixelStream::bytesRemainingInFrame() const {
195 return bytesRemaining() % mbytesPerFrame;

Callers

nothing calls this directly

Calls 1

bytesLeftMethod · 0.45

Tested by

no test coverage detected