20 bool available(fl::size n)
const override;
21 fl::size
read(
fl::u8 *dst, fl::size bytesToRead)
override;
23 const char *
path()
const override {
return "ByteStreamMemory"; }
ByteStreamMemory(fl::u32 size_buffer)
~ByteStreamMemory() override
fl::size write(const fl::u8 *src, fl::size n)
CircularBuffer< fl::u8 > mReadBuffer
fl::size writeCRGB(const CRGB *src, fl::size n)
const char * path() const override
Implements the FastLED namespace macros.
#define FASTLED_SMART_PTR(type)
Representation of an RGB pixel (Red, Green, Blue)