applied platformio structure

This commit is contained in:
2026-03-13 17:03:22 +00:00
parent c5233cf15c
commit db7d90e736
3510 changed files with 691878 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#ifndef BELL_BYTE_READER_H
#define BELL_BYTE_READER_H
#include <stdint.h>
#include <stdlib.h>
/**
* A class for reading bytes from a stream. Further implemented in HTTPStream.h
*/
namespace bell {
class ByteStream {
public:
ByteStream(){};
virtual ~ByteStream() = default;
virtual size_t read(uint8_t* buf, size_t nbytes) = 0;
virtual size_t skip(size_t nbytes) = 0;
virtual size_t position() = 0;
virtual size_t size() = 0;
virtual void close() = 0;
};
} // namespace bell
#endif