FastLED 3.9.15
Loading...
Searching...
No Matches

◆ readU16BE()

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

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

17 {
18 if (offset + 2 > data.size()) { ok = false; return 0; }
19 return (fl::u16(data[offset]) << 8) | fl::u16(data[offset + 1]);
20}
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(), readU16BE(), and fl::span< T, Extent >::size().

Referenced by parseAvcC(), and readU16BE().

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