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

◆ hasBits()

bool fl::anonymous_namespace{h264.cpp.hpp}::BitReader::hasBits ( fl::size n) const
inline

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

17 {
18 fl::size totalBits = data.size() * 8;
19 fl::size currentBit = bytePos * 8 + bitPos;
20 return currentBit + n <= totalBits;
21 }

References bitPos, bytePos, and data.

Referenced by readUE().

+ Here is the caller graph for this function: