MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / readFileToStream

Method readFileToStream

lib/hal/HalStorage.cpp:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46String HalStorage::readFile(const char* path) { HAL_STORAGE_WRAPPED_CALL(readFile, path); }
47
48bool HalStorage::readFileToStream(const char* path, Print& out, size_t chunkSize) {
49 HAL_STORAGE_WRAPPED_CALL(readFileToStream, path, out, chunkSize);
50}
51
52size_t HalStorage::readFileToBuffer(const char* path, char* buffer, size_t bufferSize, size_t maxBytes) {
53 HAL_STORAGE_WRAPPED_CALL(readFileToBuffer, path, buffer, bufferSize, maxBytes);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected