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

◆ boxIs()

bool fl::anonymous_namespace{mp4_parser.cpp.hpp}::boxIs ( fl::span< const fl::u8 > data,
fl::size offset,
const char * type )
inline

Definition at line 24 of file mp4_parser.cpp.hpp.

24 {
25 if (offset + 4 > data.size()) return false;
26 return data[offset] == fl::u8(type[0]) &&
27 data[offset + 1] == fl::u8(type[1]) &&
28 data[offset + 2] == fl::u8(type[2]) &&
29 data[offset + 3] == fl::u8(type[3]);
30}
constexpr fl::size size() const FL_NO_EXCEPT
Definition span.h:483
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
unsigned char u8
Definition stdint.h:131

References boxIs(), fl::FL_NO_EXCEPT, and offset().

Referenced by boxIs(), and findBox().

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