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

◆ as_writable_bytes()

template<typename T, fl::size Extent>
span< fl::u8,(Extent==dynamic_extent) ? dynamic_extent :(Extent *sizeof(T))> fl::as_writable_bytes ( span< T, Extent > & s)

Definition at line 569 of file span.h.

569 {
570 if (Extent == dynamic_extent) {
573 s.size_bytes()
574 );
575 } else {
576 return span<fl::u8, Extent * sizeof(T)>(
578 );
579 }
580}
const T * data() const FL_NOEXCEPT
Definition span.h:461
constexpr fl::size size_bytes() const FL_NOEXCEPT
Definition span.h:459
constexpr fl::size dynamic_extent
Definition span.h:26
To bit_cast(const From &from) FL_NOEXCEPT
Definition bit_cast.h:48

References as_writable_bytes(), bit_cast(), dynamic_extent, and FL_NOEXCEPT.

Referenced by as_writable_bytes().

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