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

Method read_block_at

src/utils/SDManager.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80unsigned int SDManager::read_block_at(ExFatFile *file, int offset, uint8_t *block, int size) {
81 _lastFile = file;
82 file->seekSet(offset);
83 return file->read(block, size);
84}
85
86unsigned int SDManager::read_block(ExFatFile *file, uint8_t *block, int size) {
87 if (!_available) return 0;

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected