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

Method rewind

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

Source from the content-addressed store, hash-verified

196}
197
198bool PixelStream::rewind() {
199 if (mType == kStreaming) {
200 return false;
201 }
202 // Rewind to the start of the payload, not the start of the file —
203 // skips the FLED header on container-formatted streams.
204 mHandle->seek(mPayloadOffset);
205 return true;
206}
207
208PixelStream::Type PixelStream::getType() const {
209 return mType;

Callers

nothing calls this directly

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected