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

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

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

Referenced by findBox(), and readU32BE().

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