Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
StorageFileReader.h
Go to the documentation of this file.
1#pragma once
2#include <cstddef>
7public:
8 virtual ~StorageFileReader() = default;
9
17 virtual bool readLine(char* buffer, size_t maxLen) = 0;
18
22 virtual void close() = 0;
23};
Abstract interface for reading a file line-by-line.
virtual void close()=0
Close the file and release resources.
virtual ~StorageFileReader()=default
virtual bool readLine(char *buffer, size_t maxLen)=0
Reads a single line into the provided buffer.