From 6ac63fbadfd25eea9c1b4aa375c238df92ee23cb Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 20 Nov 2010 11:45:05 -0500 Subject: SD File object implements Stream. Added peak() and available() using a single byte buffer. Added flush(). --- cores/arduino/Stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores/arduino') diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h index c98759b..93d8275 100644 --- a/cores/arduino/Stream.h +++ b/cores/arduino/Stream.h @@ -28,6 +28,7 @@ class Stream : public Print public: virtual int available() = 0; virtual int read() = 0; + virtual int peek() = 0; virtual void flush() = 0; }; -- cgit v1.2.3-18-g5258