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

◆ nsgif__host_is_little_endian()

static bool fl::third_party::nsgif__host_is_little_endian ( void )
inlinestatic

Check whether the host is little endian.

Checks whether least significant bit is in the first byte of a fl::u16.

Returns
true if host is little endian.

Definition at line 1427 of file gif.cpp.hpp.

1428{
1429 const fl::u16 test = 1;
1430
1431 return ((const fl::u8 *) &test)[0];
1432}
unsigned char u8
Definition coder.h:132

References FL_NOEXCEPT.

Referenced by nsgif__bitmap_fmt_to_colour_layout().

+ Here is the caller graph for this function: