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

Method getTotalBytes

src/fl/gfx/rectangular_draw_buffer.cpp.hpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88u32 RectangularDrawBuffer::getTotalBytes() const {
89 u32 num_strips = mDrawList.size();
90 u32 max_bytes = getMaxBytesInStrip();
91 return num_strips * max_bytes;
92}
93
94void RectangularDrawBuffer::getBlockInfo(u32 *num_strips,
95 u32 *bytes_per_strip,

Callers 3

flushMethod · 0.80
showMethod · 0.80
FL_TEST_FILEFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected