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

◆ readRGB8()

fl::size_t fl::filebuf::readRGB8 ( fl::span< CRGB > dst)
inline

Definition at line 65 of file file_handle.h.

65 {
66 return read(reinterpret_cast<char*>(dst.data()), dst.size() * 3) / 3; // ok reinterpret cast
67 }
const T * data() const FL_NOEXCEPT
Definition span.h:461
constexpr fl::size size() const FL_NOEXCEPT
Definition span.h:458
int read()

References fl::span< T, Extent >::data(), fl::read(), and fl::span< T, Extent >::size().

+ Here is the call graph for this function: