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

Method available

src/fl/codec/file_system_codecs.cpp.hpp:74–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 int error_code() const override { return 0; }
73 const char* error_message() const override { return "No error"; }
74 bool available() const override { return mHasValidFrame || mDecoder->hasMoreFrames(); }
75 fl::size_t bytes_left() const override {
76 if (!mHasValidFrame) return 0;
77 return (mCurrentPos < mFrameSize) ? (mFrameSize - mCurrentPos) : 0;

Callers 3

fillBufferMethod · 0.45
beginMethod · 0.45
loadJpegMethod · 0.45

Calls 1

hasMoreFramesMethod · 0.45

Tested by

no test coverage detected