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

◆ rewind()

bool fl::video::PixelStream::rewind ( )

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

383 {
384 if (!mHandle || mType == kStreaming) {
385 return false;
386 }
387 // Rewind to the start of the payload, not the start of the file —
388 // skips the FLED header on container-formatted streams.
389 mHandle->seek(mPayloadOffset);
390 return true;
391}
fl::filebuf_ptr mHandle

References fl::FL_NO_EXCEPT, kStreaming, mHandle, mPayloadOffset, and mType.