Fixed error "No such file or directory WString.h" (fixes #1381)

This commit is contained in:
Benoit Blanchon
2020-09-16 10:29:20 +02:00
parent c4ec2ba88f
commit 6a878ee444
8 changed files with 13 additions and 4 deletions

View File

@ -0,0 +1,14 @@
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// 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;
};