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

◆ readU32BE()

fl::u32 fl::anonymous_namespace{mp4_parser.cpp.hpp}::readU32BE ( fl::span< const fl::u8 > data,
fl::size offset,
bool & ok )
inline

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

10 {
11 if (offset + 4 > data.size()) { ok = false; return 0; }
12 return (fl::u32(data[offset]) << 24) |
13 (fl::u32(data[offset + 1]) << 16) |
14 (fl::u32(data[offset + 2]) << 8) |
15 fl::u32(data[offset + 3]);
16}
constexpr fl::size size() const FL_NO_EXCEPT
Definition span.h:483
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

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

Referenced by findBox(), and readU32BE().

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