mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-06-25 01:11:35 +02:00
15 lines
307 B
C++
15 lines
307 B
C++
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2025, Benoit BLANCHON
|
|
// MIT License
|
|
|
|
#pragma once
|
|
|
|
// Reproduces Arduino's Stream class
|
|
class Stream // : public Print
|
|
{
|
|
public:
|
|
virtual ~Stream() {}
|
|
virtual int read() = 0;
|
|
virtual size_t readBytes(char* buffer, size_t length) = 0;
|
|
};
|