31 bool begin(FileHandleRef h);
32 bool beginStream(ByteStreamRef s);
34 int32_t bytesPerFrame();
35 bool readPixel(
CRGB* dst);
36 size_t readBytes(uint8_t* dst,
size_t len);
38 bool readFrame(
Frame* frame);
39 int32_t framesRemaining()
const;
40 int32_t framesDisplayed()
const;
41 bool available()
const;
43 int32_t bytesRemaining()
const;
44 int32_t bytesRemainingInFrame()
const;
49 void init(
int bytes_per_frame);
50 int32_t mbytesPerFrame;
51 FileHandleRef mFileHandle;
52 FileBufferRef mFileBuffer;
53 ByteStreamRef mByteStream;
54 bool mUsingByteStream;