32 bool begin(fl::FileHandlePtr h);
33 bool beginStream(fl::ByteStreamPtr s);
35 int32_t bytesPerFrame();
36 bool readPixel(
CRGB* dst);
37 size_t readBytes(uint8_t* dst,
size_t len);
39 bool readFrame(
Frame* frame);
40 bool readFrameAt(uint32_t frameNumber,
Frame* frame);
41 bool hasFrame(uint32_t frameNumber);
42 int32_t framesRemaining()
const;
43 int32_t framesDisplayed()
const;
44 bool available()
const;
47 int32_t bytesRemaining()
const;
48 int32_t bytesRemainingInFrame()
const;
53 void init(
int bytes_per_frame);
54 int32_t mbytesPerFrame;
55 fl::FileHandlePtr mFileHandle;
56 fl::ByteStreamPtr mByteStream;
57 bool mUsingByteStream;