FastLED 3.9.15
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 23 of file mp4_parser.cpp.hpp.

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

References boxIs(), offset(), and fl::span< T, Extent >::size().

Referenced by boxIs(), and findBox().

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