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

◆ probeStreamingMagic()

bool fl::video::PixelStream::probeStreamingMagic ( ) const
private

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

188 {
190 return !mStreamingRejected;
191 }
193 const fl::size_t want = 4 - mStreamingPrefixSize;
195 want);
196 if (got == 0) {
197 break;
198 }
202 return true;
203 }
204 }
205 if (mStreamingPrefixSize == 4) {
207 mStreamingRejected = true;
208 return false;
209 }
210 return true;
211}
fl::filebuf_ptr mHandle
bool available() const FL_NO_EXCEPT
fl::size_t mStreamingPrefixSize
__SIZE_TYPE__ size_t
Definition s16x16x4.h:16
bool isFledMagicPrefix(const fl::u8 *bytes, fl::size_t size) FL_NO_EXCEPT

References available(), fl::FL_NO_EXCEPT, mHandle, mStreamingPrefix, mStreamingPrefixSize, mStreamingProbePending, and mStreamingRejected.

Referenced by available(), begin(), and readBytes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: