MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / write_block

Method write_block

src/utils/SDManager.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74unsigned int SDManager::write_block(ExFatFile *file, uint8_t *block, int size) {
75 if (!_available) return 0;
76 _lastFile = file;
77 return file->write(block, size);
78}
79
80unsigned int SDManager::read_block_at(ExFatFile *file, int offset, uint8_t *block, int size) {
81 _lastFile = file;

Callers 2

writeChunkMethod · 0.80
dump_to_sdMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected