FastLED 3.10.6
Loading...
Searching...
No Matches

◆ readRGB8()

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

Definition at line 66 of file file_handle.h.

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

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

+ Here is the call graph for this function: