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

Method append

src/platforms/wasm/fs_wasm.cpp.hpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 FileData() = default;
78
79 void append(const u8 *data, size_t len) {
80 fl::unique_lock<fl::mutex> lock(mMutex);
81 mData.insert(mData.end(), data, data + len);
82 mCapacity = fl::max(mCapacity, mData.size());
83 }
84
85 size_t read(size_t pos, u8 *dst, size_t len) {
86 fl::unique_lock<fl::mutex> lock(mMutex);

Callers 6

jsInjectFileFunction · 0.45
jsAppendFileFunction · 0.45
findUiComponentMethod · 0.45
setRootPathFunction · 0.45
forceRemoveDirectoryFunction · 0.45
fs_stub.hppFile · 0.45

Calls 4

maxFunction · 0.85
insertMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected