MCPcopy Create free account
hub / github.com/FastLED/FastLED / writeCRGB

Method writeCRGB

tests/fl/fx/video.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 return len;
45 }
46 size_t writeCRGB(const CRGB *src, size_t len) {
47 size_t bytes_written = writeData((const uint8_t *)src, len * 3);
48 return bytes_written / 3;
49 }
50 size_t read(char *dst, size_t bytesToRead) override {
51 size_t bytesRead = 0;
52 while (bytesRead < bytesToRead && mPos < data.size()) {

Callers 1

FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected