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

Method remove_prefix

src/fl/stl/string_view.h:105–109  ·  view source on GitHub ↗

======= MODIFIERS (modify the view, not the data) =======

Source from the content-addressed store, hash-verified

103
104 // ======= MODIFIERS (modify the view, not the data) =======
105 void remove_prefix(fl::size n) FL_NOEXCEPT {
106 if (n > mSize) n = mSize;
107 mData += n;
108 mSize -= n;
109 }
110
111 void remove_suffix(fl::size n) FL_NOEXCEPT {
112 if (n > mSize) n = mSize;

Callers 5

ble_esp32.cpp.hppFile · 0.80
FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected