OpenDevice
Open IoT (Internet Of Things) Platform and Framework http://opendevice.io
StreamBuffer Class Reference
Collaboration diagram for StreamBuffer:

Public Member Functions

 StreamBuffer (uint8_t *buffer, const uint16_t len, bool clean=true)
 
 operator const uint8_t * () const
 
const uint16_t current_length () const
 
void begin (long speed)
 
bool listen ()
 
void end ()
 
bool isListening ()
 
bool overflow ()
 
virtual size_t write (uint8_t byte)
 
virtual int peek ()
 
virtual int read ()
 
virtual int available ()
 
virtual void flush ()
 
String readString ()
 
int readLongValues (long values[], int max)
 
int readIntValues (int values[], int max)
 
int readFloatValues (float values[], int max)
 
int getReadOffset ()
 

Public Attributes

uint8_t * _buffer
 

Protected Member Functions

int timedRead ()
 
int timedPeek ()
 

The documentation for this class was generated from the following files: