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

Method write_block_at

src/utils/SDManager.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67unsigned int SDManager::write_block_at(ExFatFile *file, int offset, uint8_t *block, int size) {
68 if (!_available) return 0;
69 _lastFile = file;
70 file->seekSet(offset);
71 return write_block(file, block, size);
72}
73
74unsigned int SDManager::write_block(ExFatFile *file, uint8_t *block, int size) {
75 if (!_available) return 0;

Callers 1

writeHeaderSizesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected