MCPcopy Create free account
hub / github.com/SmingHub/Sming / read

Method read

Sming/Components/Storage/src/ProgMem.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16ProgMem progMem;
17
18bool ProgMem::read(storage_size_t address, void* dst, size_t size)
19{
20 size_t readCount = flashmem_read(dst, address, size);
21 return readCount == size;
22}
23
24Partition ProgMem::ProgMemPartitionTable::add(const String& name, const void* flashPtr, size_t size,
25 Partition::FullType type)

Callers 5

readMemoryBlockMethod · 0.45
loadPartitionsMethod · 0.45
mainFunction · 0.45
json_loadFunction · 0.45
load_config_varsFunction · 0.45

Calls 1

flashmem_readFunction · 0.50

Tested by

no test coverage detected